]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
RPM spec file: wait up to 10 seconds for httpd to kill child processes.
authorGraham Leggett <minfrin@apache.org>
Wed, 20 Oct 2010 18:23:20 +0000 (18:23 +0000)
committerGraham Leggett <minfrin@apache.org>
Wed, 20 Oct 2010 18:23:20 +0000 (18:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1025661 13f79535-47bb-0310-9956-ffa450edef68

build/rpm/httpd.init

index 9fdab6ea3472f56269620cc54f0961969ca6909e..c9ff7c8e07a180e01aea678ce479d7c4e298bebc 100755 (executable)
@@ -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}