components/apache24/patches/apachectl.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Fri, 20 Nov 2015 12:43:10 -0800
changeset 5118 58b8aede3850
parent 2079 46ce7840065c
permissions -rw-r--r--
Added tag s12-88 for changeset 4e394a6ae996

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