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
+1 -1
View File
@@ -25,4 +25,4 @@ This directory contains
Simply copy the debian/ directory to the top-level source directory,
adapt the call in debian/rules to your wishes, call
dpkg -rfakeoot -sd
and you're done.
and you're done.
+2 -2
View File
@@ -30,12 +30,12 @@ case "$1" in
start)
printf "Starting ${DESC}: "
start-stop-daemon --start --quiet --exec ${DAEMON} -- ${OPTIONS}
printf "${NAME}."
printf "${NAME}.\n"
;;
stop)
printf "Stopping ${DESC}: "
start-stop-daemon --stop --oknodo --quiet --exec ${DAEMON}
printf "${NAME}."
printf "${NAME}.\n"
;;
restart|force-reload)
$0 stop
+2 -2
View File
@@ -30,12 +30,12 @@ case "$1" in
start)
printf "Starting ${DESC}: "
start-stop-daemon --start --quiet --exec ${DAEMON} -- ${OPTIONS}
printf "${NAME}."
printf "${NAME}.\n"
;;
stop)
printf "Stopping ${DESC}: "
start-stop-daemon --stop --oknodo --quiet --exec ${DAEMON}
printf "${NAME}."
printf "${NAME}.\n"
;;
restart|force-reload)
$0 stop