From aa7b317978b8061c3bdaaebdad1139c1f8bd5be2 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Dec 14 2010 22:42:18 +0000 Subject: updated upstart script to wait for SIGSTOP --- diff --git a/dhcp-forwarder.spec b/dhcp-forwarder.spec index bb4d946..49d6df3 100644 --- a/dhcp-forwarder.spec +++ b/dhcp-forwarder.spec @@ -269,6 +269,7 @@ test "$1" -eq 1 || /bin/systemctl try-restart %name.service >/dev/null 2>&1 || : - fixed source url and switched to .xz tarball - added systemd initscripts and disabled generation of the old sysv ones - minor specfile cleanups +- updated upstart script to wait for SIGSTOP * Sun Dec 6 2009 Enrico Scholz - 0.8-1300 - updated -upstart to upstart 0.6.3 diff --git a/dhcp-forwarder.upstart b/dhcp-forwarder.upstart index 859f847..4dbf5fb 100644 --- a/dhcp-forwarder.upstart +++ b/dhcp-forwarder.upstart @@ -4,4 +4,5 @@ stop on runlevel [!345] respawn -exec /usr/sbin/dhcp-fwd -n -c /etc/dhcp-fwd.conf +expect stop +exec /usr/sbin/dhcp-fwd -N -c /etc/dhcp-fwd.conf