From 21f20c3b3405e28da57f0d7ec118acf1a4837517 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 21 Dec 2005 23:04:22 +0000 Subject: [PATCH] - try without --waitfor Changed files: apache.init -> 1.51 --- apache.init | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apache.init b/apache.init index abea42a..ba10269 100644 --- a/apache.init +++ b/apache.init @@ -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 -- 2.44.0