From: Graham Leggett Date: Wed, 20 Oct 2010 18:22:12 +0000 (+0000) Subject: RPM spec file: wait up to 10 seconds for httpd to kill child processes. X-Git-Tag: 2.3.9~250 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4b72c06b92b614199eebd757b48ec0ded0b2998;p=apache RPM spec file: wait up to 10 seconds for httpd to kill child processes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1025659 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/rpm/httpd.init b/build/rpm/httpd.init index 0fdbba960c..0d84d595f1 100755 --- a/build/rpm/httpd.init +++ b/build/rpm/httpd.init @@ -90,7 +90,7 @@ start() { } stop() { echo -n $"Stopping $prog: " - killproc -p ${pidfile} $httpd + killproc -p ${pidfile} -d 10 $httpd RETVAL=$? echo [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile}