summaryrefslogtreecommitdiffstats
path: root/support/apachectl.in
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2001-09-21 16:57:43 +0200
committerJustin Erenkrantz <jerenkrantz@apache.org>2001-09-21 16:57:43 +0200
commitc43a22448395f39852897d9043641323ef86fc83 (patch)
treec2220cf8f32d44a4d0642d939c3815585c33951b /support/apachectl.in
parentSwitch proc_pthread to pthread for the AcceptMutex directive. (diff)
downloadapache2-c43a22448395f39852897d9043641323ef86fc83.tar.xz
apache2-c43a22448395f39852897d9043641323ef86fc83.zip
kill -l requires the short version of the signal (without SIG prefix).
(apachectl graceful was broken.) The best way to do this is to change configure to internally represent the signal without the SIG prefix and prepend SIG before substitution (and export a version without the SIG prefix for apachectl). This highlights why we want to move apachectl's core functionality into httpd. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91102 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/apachectl.in')
-rw-r--r--support/apachectl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/apachectl.in b/support/apachectl.in
index c37f275d98..8d0043bdd8 100644
--- a/support/apachectl.in
+++ b/support/apachectl.in
@@ -125,7 +125,7 @@ do
fi
else
if $HTTPD -t >/dev/null 2>&1; then
- if kill -@AP_SIG_GRACEFUL@ $PID ; then
+ if kill -@AP_SIG_GRACEFUL_SHORT@ $PID ; then
echo "$0 $ARG: httpd gracefully restarted"
else
echo "$0 $ARG: httpd could not be restarted"