summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-01-30 22:29:23 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-01-30 22:29:23 +0000
commit1b3f2383622f1d99d41cb613ab9937de9d15fdde (patch)
tree844ec68bbfac5b632d3f4333f396d93f3f0894dc /usr.sbin
parent9f8ce4966cab88497f6ca4464e026d2af1c1b5ca (diff)
apachectl picks up httpd_flags from rc.conf for some time now - and that
is good! so let's do it in all cases... missed case: on restart and graceful, when apachectl figures out that no httpd is running, it tries to start one. found out the hard way by yours truly
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/src/support/apachectl4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/httpd/src/support/apachectl b/usr.sbin/httpd/src/support/apachectl
index 4c17e767061..05e1ef2cd02 100644
--- a/usr.sbin/httpd/src/support/apachectl
+++ b/usr.sbin/httpd/src/support/apachectl
@@ -108,7 +108,7 @@ do
restart)
if [ $RUNNING -eq 0 ]; then
echo "$0 $ARG: httpd not running, trying to start"
- if $HTTPD ; then
+ if $HTTPD $RCFLAGS; then
echo "$0 $ARG: httpd started"
else
echo "$0 $ARG: httpd could not be started"
@@ -132,7 +132,7 @@ do
graceful)
if [ $RUNNING -eq 0 ]; then
echo "$0 $ARG: httpd not running, trying to start"
- if $HTTPD ; then
+ if $HTTPD $RCFLAGS; then
echo "$0 $ARG: httpd started"
else
echo "$0 $ARG: httpd could not be started"