summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-12-30 06:51:10 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-12-30 06:51:10 +0000
commita48929e95af6b383511d8270522a6aa47bfe52d4 (patch)
tree26c21feda22f1bbe0209ea1715874444e27a7b8f /etc/rc
parent154fcaf6d441659da312941fd171f68cef2f1544 (diff)
Use apachectl to start httpd, rather than directly call httpd in
/etc/rc (PR 1476)
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 36e73846a17..482660b53a0 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.158 2000/12/30 06:35:17 angelos Exp $
+# $OpenBSD: rc,v 1.159 2000/12/30 06:51:09 angelos Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -447,7 +447,7 @@ fi
if [ "X${httpd_flags}" != X"NO" ]; then
# Clean up left-over httpd locks
rm -f /var/www/logs/{ssl_mutex,httpd.lock,accept.lock}.*
- echo -n ' httpd'; /usr/sbin/httpd ${httpd_flags}
+ echo -n ' httpd'; /usr/sbin/apachectl ${httpd_flags}
fi
if [ "X${ftpd_flags}" != X"NO" ]; then