]> granicus.if.org Git - apache/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:22:12 +0000 (18:22 +0000)
committerGraham Leggett <minfrin@apache.org>
Wed, 20 Oct 2010 18:22:12 +0000 (18:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1025659 13f79535-47bb-0310-9956-ffa450edef68

build/rpm/httpd.init

index 0fdbba960c63d1b085481405b6a499acb6459883..0d84d595f199497c0677f93bb3c2d1d220e435a4 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}