components/apache24/patches/apachectl.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Fri, 12 Aug 2016 17:23:26 -0700
changeset 6610 88360f57667e
parent 2079 46ce7840065c
permissions -rw-r--r--
Close of build 106.

Patch origin: in-house
Patch status: Solaris-specific; not suitable for upstream

Allows SMF method to override Apache binary and provide additional
arguments and thus select desired MPM.

--- support/apachectl.in
+++ support/apachectl.in
@@ -42,7 +42,7 @@
 # --------------------                              --------------------
 # 
 # the path to your httpd binary, including options if necessary
-HTTPD='@exp_sbindir@/@progname@'
+HTTPD=${HTTPD:-@exp_sbindir@/@progname@}
 #
 # pick up any necessary environment variables
 if test -f @exp_sbindir@/envvars; then