]> git.pld-linux.org Git - packages/apache.git/commitdiff
- killproc always returns with process killed (sends -9 as last resort)
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 22 Dec 2005 18:46:02 +0000 (18:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix chkconfig config tag

Changed files:
    apache.init -> 1.52

apache.init

index ba1026959b2617f45ba8959ade1b9e9d08ab47e5..67d9bc9859b2444f9e99a012a5160f2d5a7a107f 100644 (file)
@@ -7,10 +7,7 @@
 #              HTML files and CGI.
 # processname: httpd
 # pidfile:     /var/run/httpd.pid
-# config:      /etc/httpd/conf/access.conf
-# config:      /etc/httpd/conf/httpd.conf
-# config:      /etc/httpd/conf/srm.conf
-
+# config:      /etc/httpd/apache.conf
 
 # Source function library
 . /etc/rc.d/init.d/functions
@@ -61,10 +58,7 @@ case "$1" in
        if [ -f /var/lock/subsys/httpd ]; then
                msg_stopping httpd.${HTTPD_MPM}
                killproc --pidfile httpd.pid 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
-               fi
+               rm -f /var/lock/subsys/httpd /var/run/httpd.pid /var/run/httpd.loc* >/dev/null 2>&1
        else
                msg_not_running httpd.${HTTPD_MPM}
        fi
This page took 0.038919 seconds and 4 git commands to generate.