aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache13-ssl
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-07-14 02:19:16 +0800
committeritetcu <itetcu@FreeBSD.org>2008-07-14 02:19:16 +0800
commit68eebb92f65c16d4d208335fd8f3ca68208a4527 (patch)
tree4ba9f06678a101d184d363ee1a77169ac9cf9310 /www/apache13-ssl
parente27c1e9b87f15baa573ba678f405db7a67708dda (diff)
downloadfreebsd-ports-gnome-68eebb92f65c16d4d208335fd8f3ca68208a4527.tar.gz
freebsd-ports-gnome-68eebb92f65c16d4d208335fd8f3ca68208a4527.tar.zst
freebsd-ports-gnome-68eebb92f65c16d4d208335fd8f3ca68208a4527.zip
load_rc_config before testing for empty vars.
Submitted by: dougb@
Diffstat (limited to 'www/apache13-ssl')
-rw-r--r--www/apache13-ssl/files/apache.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache13-ssl/files/apache.in b/www/apache13-ssl/files/apache.in
index 5e663ea070b7..18ff258e3ee2 100644
--- a/www/apache13-ssl/files/apache.in
+++ b/www/apache13-ssl/files/apache.in
@@ -33,13 +33,13 @@ command="%%PREFIX%%/sbin/httpsd"
pidfile="/var/run/httpsd.pid"
required_files=%%PREFIX%%/etc/apache/httpsd.conf
+load_rc_config $name
+
[ -z "$apache_enable" ] && apache_enable="NO"
[ -z "$apache_flags" ] && apache_flags=""
[ -z "$apachelimits_enable" ] && apachelimits_enable="NO"
[ -z "$apachelimits_args" ] && apachelimits_args="-e -C daemon"
-load_rc_config $name
-
apache_checkconfig()
{
echo "Performing sanity check on apache configuration:"