components/apache2/patches/apachectl.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Tue, 18 Nov 2014 05:26:28 -0800
changeset 2223 2bbd29293854
parent 1331 0d14e812ca53
child 1346 ebb3e4503fed
permissions -rw-r--r--
18764604 Apache should not enable pkcs11 engine by default on T4/T4+ platforms

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