components/apache24/patches/apachectl.patch
author April Chin <april.chin@oracle.com>
Fri, 31 Jul 2015 13:11:47 -0700
changeset 4727 3ef0841967f5
parent 2079 46ce7840065c
permissions -rw-r--r--
21466647 Ruby tests should be patched to fix test failures when using upgraded OpenSSL

Patch origin: in-house
Patch status: Solaris-specific; not suitable for upstream

Allows SMF method to override Apache binary and provide additional
arguments and thus select desired MPM.

--- support/apachectl.in
+++ support/apachectl.in
@@ -42,7 +42,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