cosmetic fixes to init script

This commit is contained in:
Jan Wagner 2007-01-28 12:44:12 +00:00
parent bd8779f260
commit 1da26f2cb0
2 changed files with 10 additions and 4 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
dns-flood-detector (1.12-2) UNRELEASED; urgency=low
* some cosmetic fixes to init script
-- Jan Wagner <waja@cyconet.org> Thu, 25 Jan 2007 14:29:06 +0100
dns-flood-detector (1.12-1) unstable; urgency=medium
* New upstream release

8
debian/init.d vendored
View file

@ -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."
;;
*)