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 dns-flood-detector (1.12-1) unstable; urgency=medium
* New upstream release * New upstream release

8
debian/init.d vendored
View file

@ -46,12 +46,12 @@ case "$1" in
;; ;;
restart|force-reload) restart|force-reload)
echo -n "Restarting $DESC: " echo -n "Restarting $DESC: "
start-stop-daemon --stop --quiet --pidfile \ start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
/var/run/$NAME.pid --exec $DAEMON --exec $DAEMON
killall -9 $NAME killall -9 $NAME
sleep 1 sleep 1
start-stop-daemon --start --quiet --pidfile \ start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
/var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS --exec $DAEMON -- $DAEMON_OPTS
echo "$NAME." echo "$NAME."
;; ;;
*) *)