FreeBSD Bugzilla – Attachment 90283 Details for
Bug 127418
[patch] www/apache22: initialize environment in rc.d script a bit later
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
apache22.sh.in.dont-disrupt-environment
apache22.sh.in.dont-disrupt-environment (text/plain), 899 bytes, created by
Eygene Ryabinkin
on 2008-09-16 07:30:01 UTC
(
hide
)
Description:
apache22.sh.in.dont-disrupt-environment
Filename:
MIME Type:
Creator:
Eygene Ryabinkin
Created:
2008-09-16 07:30:01 UTC
Size:
899 bytes
patch
obsolete
>--- files/apache22.sh.in.orig 2008-09-16 09:46:52.000000000 +0400 >+++ files/apache22.sh.in 2008-09-16 09:57:33.000000000 +0400 >@@ -138,13 +138,24 @@ > fi > } > >-apache22_checkconfig() >+apache22_source_envvars() > { > if test -f %%PREFIX%%/sbin/envvars > then > . %%PREFIX%%/sbin/envvars > fi >+} > >+# Just invoking real checkconfig procedure in a subshell to avoid >+# disrupting environment. >+apache22_checkconfig() >+{ >+ (apache22_checkconfig_real) >+} >+ >+apache22_checkconfig_real() >+{ >+ apache22_source_envvars > echo "Performing sanity check on apache22 configuration:" > eval ${command} ${apache22_flags} -t > } >@@ -191,6 +202,9 @@ > apache22_prestart() { > apache22_precmd > apache22_checkfib >+# Should be the last step: environment tuners can greatly modify >+# script environment (PATH, LD_LIBRARY_PATH, etc). >+ apache22_source_envvars > } > > extra_commands="reload graceful gracefulstop configtest"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 127418
: 90283