Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 28776 Details for
Bug 46925
Apache2 Startscript doesn't accept environment variables nor does it read /usr/lib/apache2/build/envvars
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for Apache2 init script, to use environement variables.
apache2.diff (text/plain), 846 bytes, created by
Minati jean michel
on 2004-04-06 02:48:19 UTC
(
hide
)
Description:
Patch for Apache2 init script, to use environement variables.
Filename:
MIME Type:
Creator:
Minati jean michel
Created:
2004-04-06 02:48:19 UTC
Size:
846 bytes
patch
obsolete
>--- /etc/init.d/apache2.old 2004-04-06 09:39:49.571452232 +0000 >+++ /etc/init.d/apache2 2004-04-06 09:45:23.841635440 +0000 >@@ -4,6 +4,7 @@ > # $Header: /home/cvsroot/gentoo-x86/net-www/apache/files/2.0.49/apache2.initd,v 1.3 2004/03/29 20:03:55 mholzer Exp $ > > opts="${opts} reload" >+ENV=`cat /etc/env.d/apache` > > [ "x${STARTUPERRORLOG}" != "x" ] && APACHE2_OPTS="${APACHE2_OPTS} -d ${STARTUPERRORLOG}" > [ "x${CONFIGFILE}" != "x" ] && APACHE2_OPTS="${APACHE2_OPTS} -f ${CONFIGFILE}" >@@ -56,7 +57,9 @@ > checkconfig || return 1 > ebegin "Starting apache2" > [ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache >- env -i PATH=$PATH /sbin/start-stop-daemon --quiet \ >+ env -i >+ export ${ENV} >+ /sbin/start-stop-daemon --quiet \ > --start --startas /usr/sbin/apache2 \ > --pidfile ${PIDFILE} -- -k start ${APACHE2_OPTS} > eend $?
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46925
: 28776