aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/apache_mod_security/apache_mod_security.inc6
1 files changed, 3 insertions, 3 deletions
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();
}