summaryrefslogtreecommitdiff
path: root/www/apache13-ssl
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-07-13 18:19:16 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-07-13 18:19:16 +0000
commit9b1721159f8e54507441f381f70d6506c8cadde6 (patch)
tree0e639f14411b90f7e951c29f78f23134f779dfb9 /www/apache13-ssl
parent. Update to tzupdater 1.3.6. (diff)
load_rc_config before testing for empty vars.
Submitted by: dougb@
Notes
Notes: svn path=/head/; revision=216784
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:"