diff options
author | Rajiv Aaron Manglani <rajiv@gentoo.org> | 2003-10-31 07:17:48 +0000 |
---|---|---|
committer | Rajiv Aaron Manglani <rajiv@gentoo.org> | 2003-10-31 07:17:48 +0000 |
commit | 1e9d76627deb0711fc88b766dd3e5b71cf668315 (patch) | |
tree | f9c1436784e464308d50e66b6685c72b66055694 /net-www/apache/files | |
parent | hppa stable (diff) | |
download | gentoo-2-1e9d76627deb0711fc88b766dd3e5b71cf668315.tar.gz gentoo-2-1e9d76627deb0711fc88b766dd3e5b71cf668315.tar.bz2 gentoo-2-1e9d76627deb0711fc88b766dd3e5b71cf668315.zip |
initscript fixes.
Diffstat (limited to 'net-www/apache/files')
-rw-r--r-- | net-www/apache/files/2.0.40/apache2.initd | 5 | ||||
-rw-r--r-- | net-www/apache/files/apache.rc6 | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/net-www/apache/files/2.0.40/apache2.initd b/net-www/apache/files/2.0.40/apache2.initd index 1da337229b2d..1fc20223a98b 100644 --- a/net-www/apache/files/2.0.40/apache2.initd +++ b/net-www/apache/files/2.0.40/apache2.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/apache/files/2.0.40/apache2.initd,v 1.12 2003/10/30 19:57:10 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/apache/files/2.0.40/apache2.initd,v 1.13 2003/10/31 07:17:45 rajiv Exp $ opts="${opts} reload" @@ -14,7 +14,8 @@ depend() { start() { ebegin "Starting apache2" [ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache - env -i /sbin/start-stop-daemon --quiet --start --startas /usr/sbin/apache2 \ + env -i PATH=$PATH /sbin/start-stop-daemon --quiet \ + --start --startas /usr/sbin/apache2 \ --pidfile /var/run/apache2.pid -- -k start ${APACHE2_OPTS} eend $? } diff --git a/net-www/apache/files/apache.rc6 b/net-www/apache/files/apache.rc6 index 00916b681609..1ad94b3d4249 100644 --- a/net-www/apache/files/apache.rc6 +++ b/net-www/apache/files/apache.rc6 @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-www/apache/files/apache.rc6,v 1.15 2003/10/30 19:57:10 woodchip Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/apache/files/apache.rc6,v 1.16 2003/10/31 07:17:45 rajiv Exp $ opts="${opts} reload" @@ -13,7 +13,8 @@ depend() { start() { ebegin "Starting apache" - env -i /sbin/start-stop-daemon -o --quiet --start --startas /usr/sbin/apache \ + env -i PATH=$PATH /sbin/start-stop-daemon -o --quiet \ + --start --startas /usr/sbin/apache \ --pidfile /var/run/apache.pid -- ${APACHE_OPTS} eend $? } |