SOURCES: speech-dispatcher.init - alternatives cleaned up, not dup...
qboosh
qboosh at pld-linux.org
Sat Jan 12 14:05:19 CET 2008
Author: qboosh Date: Sat Jan 12 13:05:19 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- alternatives cleaned up, not duplicated
---- Files affected:
SOURCES:
speech-dispatcher.init (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/speech-dispatcher.init
diff -u SOURCES/speech-dispatcher.init:1.2 SOURCES/speech-dispatcher.init:1.3
--- SOURCES/speech-dispatcher.init:1.2 Sat Jan 12 01:07:05 2008
+++ SOURCES/speech-dispatcher.init Sat Jan 12 14:05:14 2008
@@ -51,7 +51,6 @@
if [ -f /var/lock/subsys/speech-dispatcher ]; then
# Stop daemons.
msg_stopping speech-dispatcher
- killproc speech-dispatcher
killproc --pidfile ${PIDFILE:-/var/run/speech-dispatcher/speech-dispatcher.pid} speech-dispatcher -TERM
rm -f /var/lock/subsys/speech-dispatcher
else
@@ -62,7 +61,6 @@
reload() {
if [ -f /var/lock/subsys/speech-dispatcher ]; then
msg_reloading speech-dispatcher
- killproc speech-dispatcher -HUP
killproc --pidfile ${PIDFILE:-/var/run/speech-dispatcher/speech-dispatcher.pid} speech-dispatcher -HUP
RETVAL=$?
else
@@ -97,15 +95,9 @@
try-restart)
condrestart 0
;;
-# include force-reload here if program allows reloading without restart
-# otherwise remove reload action and support force-reload as restart if running
reload|force-reload)
reload
;;
-# use this one if program doesn't support reloading without restart
- force-reload)
- condrestart 7
- ;;
status)
status speech-dispatcher
RETVAL=$?
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/speech-dispatcher.init?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list