update init scripts for older Debian systems (Dave Pratt)
This commit is contained in:
@@ -30,12 +30,12 @@ case "$1" in
|
|||||||
start)
|
start)
|
||||||
printf "Starting ${DESC}: "
|
printf "Starting ${DESC}: "
|
||||||
start-stop-daemon --start --quiet --exec ${DAEMON} -- ${OPTIONS}
|
start-stop-daemon --start --quiet --exec ${DAEMON} -- ${OPTIONS}
|
||||||
printf "${NAME}."
|
printf "${NAME}.\n"
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
printf "Stopping ${DESC}: "
|
printf "Stopping ${DESC}: "
|
||||||
start-stop-daemon --stop --oknodo --quiet --exec ${DAEMON}
|
start-stop-daemon --stop --oknodo --quiet --exec ${DAEMON}
|
||||||
printf "${NAME}."
|
printf "${NAME}.\n"
|
||||||
;;
|
;;
|
||||||
restart|force-reload)
|
restart|force-reload)
|
||||||
$0 stop
|
$0 stop
|
||||||
|
|||||||
@@ -30,12 +30,12 @@ case "$1" in
|
|||||||
start)
|
start)
|
||||||
printf "Starting ${DESC}: "
|
printf "Starting ${DESC}: "
|
||||||
start-stop-daemon --start --quiet --exec ${DAEMON} -- ${OPTIONS}
|
start-stop-daemon --start --quiet --exec ${DAEMON} -- ${OPTIONS}
|
||||||
printf "${NAME}."
|
printf "${NAME}.\n"
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
printf "Stopping ${DESC}: "
|
printf "Stopping ${DESC}: "
|
||||||
start-stop-daemon --stop --oknodo --quiet --exec ${DAEMON}
|
start-stop-daemon --stop --oknodo --quiet --exec ${DAEMON}
|
||||||
printf "${NAME}."
|
printf "${NAME}.\n"
|
||||||
;;
|
;;
|
||||||
restart|force-reload)
|
restart|force-reload)
|
||||||
$0 stop
|
$0 stop
|
||||||
|
|||||||
Reference in New Issue
Block a user