summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/httpd/src/support/apachectl6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/httpd/src/support/apachectl b/usr.sbin/httpd/src/support/apachectl
index 05e1ef2cd02..bb36fea20ab 100644
--- a/usr.sbin/httpd/src/support/apachectl
+++ b/usr.sbin/httpd/src/support/apachectl
@@ -115,7 +115,7 @@ do
ERROR=5
fi
else
- if $HTTPD -t >/dev/null 2>&1; then
+ if $HTTPD $RCFLAGS -t >/dev/null 2>&1; then
if kill -HUP $PID ; then
echo "$0 $ARG: httpd restarted"
else
@@ -139,7 +139,7 @@ do
ERROR=5
fi
else
- if $HTTPD -t >/dev/null 2>&1; then
+ if $HTTPD $RCFLAGS -t >/dev/null 2>&1; then
if kill -USR1 $PID ; then
echo "$0 $ARG: httpd gracefully restarted"
else
@@ -160,7 +160,7 @@ do
$LYNX $STATUSURL
;;
configtest)
- if $HTTPD -t; then
+ if $HTTPD $RCFLAGS -t; then
:
else
ERROR=8