diff -r 2115cf46e7e2 resources/OCF/apache
--- a/resources/OCF/apache	Mon Dec 03 16:56:05 2007 +0100
+++ b/resources/OCF/apache	Mon Dec 10 15:45:19 2007 +0900
@@ -352,6 +352,16 @@ stop_apache() {
   else
     ocf_log info "$CMD is not running."
   fi
+
+  for sig in SIGTERM SIGQUIT SIGKILL ; do
+    if pgrep -f $CONFIGFILE >/dev/null 2>&1 ; then
+      pkill -$sig  -f $CONFIGFILE >/dev/null 2>&1
+      ocf_log info "Some process apache were signalled.($sig)"
+      sleep 1
+    else
+      break
+    fi
+  done
 }
 
 status_apache() {
