summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x2.4/init/apache2.initd4
1 files changed, 3 insertions, 1 deletions
diff --git a/2.4/init/apache2.initd b/2.4/init/apache2.initd
index 50b6500..c9d12c7 100755
--- a/2.4/init/apache2.initd
+++ b/2.4/init/apache2.initd
@@ -22,6 +22,9 @@ SERVERROOT="${SERVERROOT:-/usr/lib/apache2}"
CONFIGFILE="${CONFIGFILE:-/etc/apache2/httpd.conf}"
RELOAD_TYPE="${RELOAD_TYPE:-graceful}"
+# The path to the apache2 binary.
+APACHE2="/usr/sbin/apache2"
+
depend() {
need net
use mysql dns logger netmount postgresql
@@ -44,7 +47,6 @@ checkconfd() {
APACHE2_OPTS="${APACHE2_OPTS} -f ${CONFIGFILE}"
[ -n "${STARTUPERRORLOG}" ] && APACHE2_OPTS="${APACHE2_OPTS} -E ${STARTUPERRORLOG}"
- APACHE2="/usr/sbin/apache2"
}
checkconfig() {