From e75c2befeef9554e0f5ad5c86051e2a79d76ba8d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 23 Jun 2009 22:17:34 -0400 Subject: Stop service on deinstall --- config/apache_mod_security/apache_mod_security.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'config/apache_mod_security') diff --git a/config/apache_mod_security/apache_mod_security.inc b/config/apache_mod_security/apache_mod_security.inc index 3fc81f85..1c2fccbb 100644 --- a/config/apache_mod_security/apache_mod_security.inc +++ b/config/apache_mod_security/apache_mod_security.inc @@ -84,6 +84,7 @@ function apache_mod_security_install() { // Deinstall package routines function apache_mod_security_deinstall() { global $config, $g; + apache_mod_security_stop(); exec("/bin/rm -rf /usr/local/apachemodsecurity"); exec("/bin/rm -f /usr/local/etc/rc.d/apache_mod_security.sh"); } -- cgit v1.2.3