summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src
diff options
context:
space:
mode:
authorsimon <simon@openbsd.org>2009-06-04 21:26:23 +0000
committersimon <simon@openbsd.org>2009-06-04 21:26:23 +0000
commitbaa44d297d36357ecd657b48f53c9937f7028b6d (patch)
tree7869649f7106e7dab99c3d0c5af0465cf252341d /usr.sbin/httpd/src
parentdetect & print the revision (rev. d, b) of rtl8187l chip using the (diff)
downloadwireguard-openbsd-baa44d297d36357ecd657b48f53c9937f7028b6d.tar.xz
wireguard-openbsd-baa44d297d36357ecd657b48f53c9937f7028b6d.zip
add RCFLAGS to config test cases
ok henning@
Diffstat (limited to 'usr.sbin/httpd/src')
-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