summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2010-10-20 20:22:12 +0200
committerGraham Leggett <minfrin@apache.org>2010-10-20 20:22:12 +0200
commitb4b72c06b92b614199eebd757b48ec0ded0b2998 (patch)
tree8530c3af0135e88d06d1b5fbe9275bcca2542f7a
parentFixed c&p error. (diff)
downloadapache2-b4b72c06b92b614199eebd757b48ec0ded0b2998.tar.xz
apache2-b4b72c06b92b614199eebd757b48ec0ded0b2998.zip
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
-rwxr-xr-xbuild/rpm/httpd.init2
1 files changed, 1 insertions, 1 deletions
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}