1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

load_rc_config before testing for empty vars.

Submitted by:	dougb@
This commit is contained in:
Ion-Mihai Tetcu 2008-07-13 18:19:16 +00:00
parent 6dc6d22c10
commit 9b1721159f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216784

View File

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