components/apache2/patches/apachectl.patch
author Brian Reitz <Brian.Reitz@Oracle.COM>
Thu, 28 May 2015 10:11:41 -0700
branchs11-update
changeset 4448 a1595889821c
parent 2765 da9ddef602cf
child 1346 ebb3e4503fed
permissions -rw-r--r--
21035315 swift missing dependency on network/rsync

Allows SMF method to override Apache binary to start and thus select if
we want prefork/worker Apache MPM.

--- support/apachectl.in	Tue Jul 11 20:38:44 2006
+++ support/apachectl.in	Tue May 14 07:40:03 2013
@@ -41,7 +41,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