components/apache24/patches/apachectl.patch
branchs11-update
changeset 3877 d7cb5bc8ee50
parent 2765 da9ddef602cf
equal deleted inserted replaced
3876:da37433d5103 3877:d7cb5bc8ee50
       
     1 Patch origin: in-house
       
     2 Patch status: Solaris-specific; not suitable for upstream
       
     3 
       
     4 Allows SMF method to override Apache binary and provide additional
       
     5 arguments and thus select desired MPM.
       
     6 
       
     7 --- support/apachectl.in
       
     8 +++ support/apachectl.in
       
     9 @@ -42,7 +42,7 @@
       
    10  # --------------------                              --------------------
       
    11  # 
       
    12  # the path to your httpd binary, including options if necessary
       
    13 -HTTPD='@exp_sbindir@/@progname@'
       
    14 +HTTPD=${HTTPD:-@exp_sbindir@/@progname@}
       
    15  #
       
    16  # pick up any necessary environment variables
       
    17  if test -f @exp_sbindir@/envvars; then