Package: dansguardian Version: 2.8.0.4-1 Severity: normal Tags: patch
If dansguardian is not already running (i.e. previously stopped/crashed) when you run `/etc/init.d/dansguardian restart`, the start/stop script will die during the stop phase and dansguardian will not be (re)started.
This can be fixed by passing the argument --oknodo to start-stop-daemon during the stop phase. i.e.
--- /etc/init.d/dansguardian 2005-04-08 09:10:05.000000000 -0700
+++ /etc/init.d/dansguardian.fixed 2005-04-08 09:10:26.000000000 -0700
@@ -39,7 +39,7 @@
;;
stop)
echo -n "Stopping $DESC: "
- start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
+ start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/$NAME.pid \
--exec $DAEMON
echo "$NAME."
;;
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

