update init scripts for older Debian systems (Dave Pratt)

This commit is contained in:
marschap
2007-04-30 13:28:16 +00:00
parent 117c5d0ed6
commit 8331b37fa3
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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