SOURCES: apache.init - relative pidfile not to require very recent...
glen
glen at pld-linux.org
Thu Dec 22 00:02:09 CET 2005
Author: glen Date: Wed Dec 21 23:02:09 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- relative pidfile not to require very recent rc-scripts (thx arekm for pointing this out)
---- Files affected:
SOURCES:
apache.init (1.49 -> 1.50)
---- Diffs:
================================================================
Index: SOURCES/apache.init
diff -u SOURCES/apache.init:1.49 SOURCES/apache.init:1.50
--- SOURCES/apache.init:1.49 Wed Dec 21 23:20:31 2005
+++ SOURCES/apache.init Thu Dec 22 00:02:04 2005
@@ -61,7 +61,7 @@
if [ -f /var/lock/subsys/httpd ]; then
msg_stopping httpd.${HTTPD_MPM}
[ -n "$(pidofproc httpd.${HTTPD_MPM})" ] && OPT="--waitforname httpd.${HTTPD_MPM} --waitfortime 60" || OPT=
- killproc --pidfile /var/run/httpd.pid $OPT httpd.${HTTPD_MPM}
+ killproc --pidfile httpd.pid $OPT httpd.${HTTPD_MPM}
# Delete pidfile only when apache was called successfully
if [ $? -eq 0 ]; then
rm -f /var/lock/subsys/httpd /var/run/httpd.pid /var/run/httpd.loc* >/dev/null 2>&1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/apache.init?r1=1.49&r2=1.50&f=u
More information about the pld-cvs-commit
mailing list