SOURCES: dspam.init - use pidfile not to kill wrong processes
glen
glen at pld-linux.org
Sun May 7 17:08:59 CEST 2006
Author: glen Date: Sun May 7 15:08:59 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use pidfile not to kill wrong processes
---- Files affected:
SOURCES:
dspam.init (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/dspam.init
diff -u SOURCES/dspam.init:1.3 SOURCES/dspam.init:1.4
--- SOURCES/dspam.init:1.3 Wed Feb 1 23:32:05 2006
+++ SOURCES/dspam.init Sun May 7 17:08:53 2006
@@ -30,8 +30,8 @@
stop)
if [ -f /var/lock/subsys/dspam ]; then
msg_stopping dspam
- killproc dspam
- rm -f /var/run/dspam.pid /var/lock/subsys/dspam >/dev/null 2>&1
+ killproc --pidfile dspam/dspam.pid dspam
+ rm -f /var/lock/subsys/dspam >/dev/null 2>&1
else
msg_not_running dspam
fi
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/dspam.init?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list