components/apache24/patches/apachectl.patch
author Yiteng Zhang <yiteng.zhang@oracle.com>
Tue, 25 Oct 2016 14:43:21 -0700
branchs11u3-sru
changeset 7255 c7815ed3b336
parent 3877 d7cb5bc8ee50
permissions -rw-r--r--
24409713 problem in LIBRARY/CURL 24409702 problem in LIBRARY/CURL 24409726 problem in LIBRARY/CURL 24409740 problem in LIBRARY/CURL 24832800 problem in LIBRARY/CURL

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