summaryrefslogtreecommitdiff
path: root/www/apache13+ipv6/files/apache.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache13+ipv6/files/apache.sh')
-rw-r--r--www/apache13+ipv6/files/apache.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/apache13+ipv6/files/apache.sh b/www/apache13+ipv6/files/apache.sh
index 03e31dd16321..5b612e5aa804 100644
--- a/www/apache13+ipv6/files/apache.sh
+++ b/www/apache13+ipv6/files/apache.sh
@@ -13,9 +13,9 @@
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
-apache_enable="NO"
-apache_flags=""
-apache_pidfile="/var/run/httpd.pid"
+apache_enable=${apache_enable-"NO"}
+apache_flags=${apache_flags-""}
+apache_pidfile=${apache_pidfile-"/var/run/httpd.pid"}
. %%RC_SUBR%%
@@ -27,6 +27,6 @@ load_rc_config $name
pidfile="${apache_pidfile}"
-start_precmd="`/usr/bin/limits -e -U www`"
+start_cmd="echo \"Starting ${name}.\"; /usr/bin/limits -U www ${command} ${apache_flags} ${command_args}"
run_rc_command "$1"