summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd
diff options
context:
space:
mode:
authorSimon Bertrang <simon@cvs.openbsd.org>2009-06-04 21:26:24 +0000
committerSimon Bertrang <simon@cvs.openbsd.org>2009-06-04 21:26:24 +0000
commit59b558736f2b227e7691c90be20a90fb8e5ac7de (patch)
tree7ef3b9c3188abdc3d9595ef026165b05dfe20af7 /usr.sbin/httpd
parente3a617cf1d8c94ab1f8da86bf0b8d4e71ff7e51e (diff)
add RCFLAGS to config test cases
ok henning@
Diffstat (limited to 'usr.sbin/httpd')
-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