cosmetic fixes to init script
This commit is contained in:
parent
bd8779f260
commit
1da26f2cb0
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -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
8
debian/init.d
vendored
|
@ -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."
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue