fix reload function sysvinit

This commit is contained in:
Alexandre Ratchov 2013-11-29 10:58:43 +01:00
parent 90db576827
commit 19a9096069
1 changed files with 5 additions and 2 deletions

View File

@ -51,8 +51,11 @@ case "$1" in
;;
restart|force-reload)
log_daemon_msg "Restarting $DESC" "$NAME"
start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_ARGS
start-stop-daemon --stop --quiet --exec $DAEMON
start-stop-daemon --stop --quiet --oknodo \
--exec $DAEMON
start-stop-daemon --start --quiet --oknodo \
--exec $DAEMON -- $DAEMON_ARGS
log_end_msg $?
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2