From 857109cf41f72e31d5674696bebdf0c476ee0344 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 24 Jun 2009 15:27:06 -0400 Subject: Use apache -k start|stop|graceful Suggested-by: jimp@ --- config/apache_mod_security/apache_mod_security.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc index 698d6a69..536f2f03 100644 --- a/config/apache_mod_security/apache_mod_security.inc +++ b/config/apache_mod_security/apache_mod_security.inc @@ -33,16 +33,16 @@ if(!is_dir("/usr/local/apachemodsecurity")) { } function apache_mod_security_start() { - exec("/usr/local/sbin/httpd"); + exec("/usr/local/sbin/httpd -k start"); } function apache_mod_security_stop() { - exec("/usr/bin/killall httpd"); + exec("/usr/local/sbin/httpd -k stop"); } function apache_mod_security_restart() { if(is_process_running("httpd")) { - exec("/usr/bin/killall -HUP httpd"); + exec("/usr/local/sbin/httpd -k graceful"); } else { apache_mod_security_start(); } -- cgit v1.2.3