Browse Source

Use apachectl to start httpd, rather than directly call httpd in

/etc/rc (PR 1476)
OPENBSD_2_9
angelos 24 years ago
parent
commit
4199f3ed12
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/etc/rc
  2. +2
    -2
      src/etc/rc.conf

+ 2
- 2
src/etc/rc View File

@ -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


+ 2
- 2
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.53 2000/10/16 14:57:13 aaron Exp $
# $OpenBSD: rc.conf,v 1.54 2000/12/30 06:51:09 angelos Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
@ -18,7 +18,7 @@ ntpdate_flags=NO # for normal use: NTP server; run before ntpd starts
photurisd_flags=NO # for normal use: ""
isakmpd_flags=NO # for normal use: ""
mopd_flags=NO # for normal use: "-a"
httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))
httpd_flags=NO # for normal use: "start" (or "startssl" after reading ssl(8))
apmd_flags=NO # for normal use: ""
dhcpd_flags=NO # for normal use: "-q"
rtadvd_flags=NO # for normal use: list of interfaces


Loading…
Cancel
Save