components/apache2/patches/apachectl.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Wed, 18 Sep 2013 06:33:34 -0700
branchs11-update
changeset 2765 da9ddef602cf
child 1346 ebb3e4503fed
permissions -rw-r--r--
15771644 SUNBT7143713 RFE: allow multiple Apache 2.2 instances to be run

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