Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 46925
Collapse All | Expand All

(-)/etc/init.d/apache2.old (-1 / +4 lines)
Lines 4-9 Link Here
4
# $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 $
4
# $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 $
5
5
6
opts="${opts} reload"
6
opts="${opts} reload"
7
ENV=`cat /etc/env.d/apache`
7
8
8
[ "x${STARTUPERRORLOG}" != "x" ] && APACHE2_OPTS="${APACHE2_OPTS} -d ${STARTUPERRORLOG}"
9
[ "x${STARTUPERRORLOG}" != "x" ] && APACHE2_OPTS="${APACHE2_OPTS} -d ${STARTUPERRORLOG}"
9
[ "x${CONFIGFILE}" != "x" ] && APACHE2_OPTS="${APACHE2_OPTS} -f ${CONFIGFILE}"
10
[ "x${CONFIGFILE}" != "x" ] && APACHE2_OPTS="${APACHE2_OPTS} -f ${CONFIGFILE}"
Lines 56-62 Link Here
56
	checkconfig || return 1
57
	checkconfig || return 1
57
	ebegin "Starting apache2"
58
	ebegin "Starting apache2"
58
	[ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache
59
	[ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache
59
	env -i PATH=$PATH /sbin/start-stop-daemon --quiet \
60
	env -i
61
	export ${ENV}
62
	/sbin/start-stop-daemon --quiet \
60
		--start --startas /usr/sbin/apache2 \
63
		--start --startas /usr/sbin/apache2 \
61
		--pidfile ${PIDFILE} -- -k start ${APACHE2_OPTS}
64
		--pidfile ${PIDFILE} -- -k start ${APACHE2_OPTS}
62
	eend $?
65
	eend $?

Return to bug 46925