]> git.pld-linux.org Git - packages/apache.git/commitdiff
- try without --waitfor
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 21 Dec 2005 23:04:22 +0000 (23:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache.init -> 1.51

apache.init

index abea42ad74172f83dc5a1823f6948c55f6f896ac..ba1026959b2617f45ba8959ade1b9e9d08ab47e5 100644 (file)
@@ -60,8 +60,7 @@ case "$1" in
        # Stop daemons.
        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 httpd.pid $OPT 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
This page took 0.421877 seconds and 4 git commands to generate.