diff --git a/debian/changelog b/debian/changelog index b704ff6..f454626 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +dns-flood-detector (1.12-2) UNRELEASED; urgency=low + + * some cosmetic fixes to init script + + -- Jan Wagner Thu, 25 Jan 2007 14:29:06 +0100 + dns-flood-detector (1.12-1) unstable; urgency=medium * New upstream release diff --git a/debian/init.d b/debian/init.d index 6767a8d..5442e4c 100644 --- a/debian/init.d +++ b/debian/init.d @@ -46,12 +46,12 @@ case "$1" in ;; restart|force-reload) 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 \ + --exec $DAEMON killall -9 $NAME sleep 1 - start-stop-daemon --start --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; *)