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

(-)apache2.old (-2 / +2 lines)
Lines 69-75 Link Here
69
	[ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache
69
	[ -f /var/log/apache2/ssl_scache ] && rm /var/log/apache2/ssl_scache
70
70
71
	ebegin "Starting ${SVCNAME}"
71
	ebegin "Starting ${SVCNAME}"
72
	start-stop-daemon --start -- ${APACHE2} ${APACHE2_OPTS} -k start
72
	start-stop-daemon --start --exec ${APACHE2} -- ${APACHE2_OPTS} -k start
73
73
74
	i=0
74
	i=0
75
	while [ ! -e "${PIDFILE}" ] && [ $i -lt ${TIMEOUT} ]; do
75
	while [ ! -e "${PIDFILE}" ] && [ $i -lt ${TIMEOUT} ]; do
Lines 84-90 Link Here
84
	checkconfd || return 1
84
	checkconfd || return 1
85
85
86
	ebegin "Stopping ${SVCNAME}"
86
	ebegin "Stopping ${SVCNAME}"
87
	start-stop-daemon --stop --pidfile ${PIDFILE} -- ${APACHE2} ${APACHE2_OPTS} -k stop
87
	start-stop-daemon --stop --pidfile ${PIDFILE} --exec ${APACHE2} -- ${APACHE2_OPTS} -k stop
88
88
89
	i=0
89
	i=0
90
	while pidof "${APACHE2}" >/dev/null && [ $i -lt ${TIMEOUT} ]; do
90
	while pidof "${APACHE2}" >/dev/null && [ $i -lt ${TIMEOUT} ]; do

Return to bug 385845