Package: bandersnatch Version: 0.4-1.2 Severity: important Tags: patch Due to an extra -- in /etc/jabber/jabber.d/bandersnatch, bandersnatch is not started when jabber is started. Also, the reload function of the init script looks broken. The attached patch should fix these issues.
-- bye, pabs http://wiki.debian.org/PaulWise
--- debian/bandersnatch.init.d~ 2007-08-17 10:31:01.000000000 +1000 +++ debian/bandersnatch.init.d 2007-08-17 10:39:38.000000000 +1000 @@ -15,7 +15,7 @@ DAEMON=/usr/sbin/bandersnatch NAME=bandersnatch DESC=bandersnatch -CMDLINE=' /etc/jabber/bandersnatch.xml' +CMDLINE='/etc/jabber/bandersnatch.xml' test -f $DAEMON || exit 0 @@ -25,7 +25,7 @@ start) echo -n "Starting $DESC: " start-stop-daemon -m -b --start --quiet --pidfile /var/run/$NAME.pid \ - --exec $DAEMON -- $CMDLINE + --exec $DAEMON $CMDLINE echo "$NAME." ;; stop) @@ -53,11 +53,10 @@ # just the same as "restart". # echo -n "Restarting $DESC: " - start-stop-daemon --stop --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON + start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid sleep 1 start-stop-daemon --start --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON + /var/run/$NAME.pid --exec $DAEMON $CMDLINE echo "$NAME." ;; *)
signature.asc
Description: This is a digitally signed message part