summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorlukem <lukem@pkgsrc.org>2002-10-14 00:29:50 +0000
committerlukem <lukem@pkgsrc.org>2002-10-14 00:29:50 +0000
commitdf661f69e5ad228a0cbf9ef60b784e0987d48004 (patch)
treea2e114fe71731720b7caed691fd78398874afe6e /cad
parentd4f819ef7abe030f90c19d9508c9bfbd30075944 (diff)
downloadpkgsrc-df661f69e5ad228a0cbf9ef60b784e0987d48004.tar.gz
Only set apache_start to "start" if it's not already set.
Previously, if apache_start was set in /etc/rc.conf and /etc/rc.d/apache was loaded as part of the /etc/rc start sequence, apache_start's value would be overridden by "apache_start=start" in this script, because /etc/rc.conf would have already been loaded and load_rc_config() would not reload it again. This problem would not have been seen if /etc/rc.d/apache was started manually, or /etc/rc.conf.d/apache or @PKG_SYSCONFDIR@/apache_start.conf was used to set apache_start. (I am using /etc/rc.conf, and was wondering why apache wasn't starting with ssl support at boot, but worked after a manual restart...)
Diffstat (limited to 'cad')
0 files changed, 0 insertions, 0 deletions