From 1da26f2cb0614a57657532b6e673609c37c1d813 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sun, 28 Jan 2007 12:44:12 +0000 Subject: [PATCH] cosmetic fixes to init script --- debian/changelog | 6 ++++++ debian/init.d | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) 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." ;; *)