stop() {
ebegin "Stopping apache2"
/usr/sbin/apache2ctl stop >/dev/null
start-stop-daemon -o --quiet --stop --pidfile /var/run/apache2.pid
start-stop-daemon -o --retry 5 --quiet --stop --pidfile /var/run/apache2.pid
eend $?
}