mirror of https://github.com/ericonr/sndio.git
fix reload function sysvinit
This commit is contained in:
parent
90db576827
commit
19a9096069
|
@ -51,8 +51,11 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
restart|force-reload)
|
restart|force-reload)
|
||||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||||
start-stop-daemon --start --quiet --exec $DAEMON -- $DAEMON_ARGS
|
start-stop-daemon --stop --quiet --oknodo \
|
||||||
start-stop-daemon --stop --quiet --exec $DAEMON
|
--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
|
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
|
||||||
|
|
Loading…
Reference in New Issue