Changed files:
apache.init -> 1.48
apache.sysconfig -> 1.11
fi
[ -z "$HTTPD_MPM" ] && HTTPD_MPM="prefork"
-if [ -d "${HTTPD_CONF:-'/etc/httpd/httpd.conf'}" ]; then
- CFG="-f ${HTTPD_CONF:-'/etc/httpd/httpd.conf'}"
-elif [ -n "$HTTPD_CONF" ]; then
- echo "error: HTTPD_CONF='$HTTPD_CONF': not a file, not a directory"
- exit 1
-else
- CFG=""
+
+if [ -n "${HTTPD_CONF}" ]; then
+ if [ -d "${HTTPD_CONF}" ] || [ -f "${HTTPD_CONF}" ]; then
+ CFG="-f ${HTTPD_CONF}"
+ else
+ echo "error: HTTPD_CONF='$HTTPD_CONF': not a file, not a directory"
+ exit 1
+ fi
fi
RETVAL=0
SERVICE_RUN_NICE_LEVEL="+5"
# config dir/file path
-HTTPD_CONF="/etc/httpd/httpd.conf"
+HTTPD_CONF="/etc/httpd/apache.conf"
# other command-line options
HTTPD_OPTS=""