View | Details | Raw Unified
Collapse All | Expand All

(-) gentoo-apache-2.2.6-r6/init/apache2.initd.old (-4 / +4 lines)
 Lines 70-76    Link Here 
	RELOAD_TYPE="${RELOAD_TYPE:-graceful}"
	RELOAD_TYPE="${RELOAD_TYPE:-graceful}"
	checkconfig || return 1
	checkconfig || return 1
	service_started "${myservice}" || return
	service_started "${SVCNAME}" || return
	if [ "${RELOAD_TYPE}" = "restart" ]; then
	if [ "${RELOAD_TYPE}" = "restart" ]; then
		ebegin "Restarting apache2"
		ebegin "Restarting apache2"
 Lines 87-93    Link Here 
graceful() {
graceful() {
	checkconfig || return 1
	checkconfig || return 1
	service_started "${myservice}" || return
	service_started "${SVCNAME}" || return
	ebegin "Gracefully restarting apache2"
	ebegin "Gracefully restarting apache2"
	${APACHE2} ${APACHE2_OPTS} -k graceful
	${APACHE2} ${APACHE2_OPTS} -k graceful
	eend $?
	eend $?
 Lines 97-104    Link Here 
	checkconfig || return 1
	checkconfig || return 1
	# zap!
	# zap!
	if service_started "${myservice}"; then
	if service_started "${SVCNAME}"; then
		mark_service_stopped "${myservice}"
		mark_service_stopped "${SVCNAME}"
	fi
	fi
	ebegin "Gracefully stopping apache2"
	ebegin "Gracefully stopping apache2"