diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-24 15:27:06 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-24 15:27:06 -0400 |
commit | 857109cf41f72e31d5674696bebdf0c476ee0344 (patch) | |
tree | 11c30ea2cf96502cabffa12714574b987f868ecc /config/apache_mod_security | |
parent | 17a73e3ff4b7c27a69aa52415feb3699d8e5c584 (diff) | |
download | pfsense-packages-857109cf41f72e31d5674696bebdf0c476ee0344.tar.gz pfsense-packages-857109cf41f72e31d5674696bebdf0c476ee0344.tar.bz2 pfsense-packages-857109cf41f72e31d5674696bebdf0c476ee0344.zip |
Use apache -k start|stop|graceful
Suggested-by: jimp@
Diffstat (limited to 'config/apache_mod_security')
-rw-r--r-- | config/apache_mod_security/apache_mod_security.inc | 6 |
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(); } |