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

(-)/var/db/repos/gentoo/net-proxy/squid/files/squid.initd-r5 (+4 lines)
Lines 86-91 Link Here
86
stop() {
86
stop() {
87
	ebegin "Stopping ${RC_SVCNAME} with /usr/sbin/squid -k shutdown -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}"
87
	ebegin "Stopping ${RC_SVCNAME} with /usr/sbin/squid -k shutdown -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}"
88
	if /usr/sbin/squid -k shutdown -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME} ; then
88
	if /usr/sbin/squid -k shutdown -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME} ; then
89
		if [ "x${SQUID_FAST_SHUTDOWN}" = "xyes" ]; then
90
		    einfo "Attempting fast shutdown."
91
		    /usr/sbin/squid -k shutdown -f /etc/squid/${RC_SVCNAME}.conf -n ${SQUID_SVCNAME}
92
		fi
89
		# Now we have to wait until squid has _really_ stopped.
93
		# Now we have to wait until squid has _really_ stopped.
90
		sleep 1
94
		sleep 1
91
		if [ -f /run/${RC_SVCNAME}.pid ] ; then
95
		if [ -f /run/${RC_SVCNAME}.pid ] ; then

Return to bug 835088