components/apache2/patches/apachectl.patch
author Jiri Sasek <Jiri.Sasek@Oracle.COM>
Tue, 29 Jul 2014 02:58:50 -0700
branchs11-update
changeset 3238 93d7197a9600
parent 2765 da9ddef602cf
child 1346 ebb3e4503fed
permissions -rw-r--r--
19049879 problem in UTILITY/SAMBA

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