components/apache2/patches/apachectl.patch
branchs11-update
changeset 2765 da9ddef602cf
child 1346 ebb3e4503fed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/apache2/patches/apachectl.patch	Wed Sep 18 06:33:34 2013 -0700
@@ -0,0 +1,14 @@
+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