kstart_stop () {
if [ -e $KSTART_PIDFILE ]; then
/sbin/start-stop-daemon --stop --pidfile $KSTART_PIDFILE
+ pgrep apache2 >/dev/null && sleep 1 \
+ && pgrep apache2 >/dev/null && sleep 1 \
+ && pgrep apache2 >/dev/null && sleep 1 \
+ && pgrep apache2 >/dev/null && sleep 1 \
+ && pkill -9 apache2
rm -f $KSTART_PIDFILE
else
echo -n " ... no kstart pidfile"