diff options
Diffstat (limited to 'packages/spamd.inc')
-rw-r--r-- | packages/spamd.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc index 1bc2b451..aa572d86 100644 --- a/packages/spamd.inc +++ b/packages/spamd.inc @@ -138,6 +138,7 @@ function sync_package_spamd() { mwexec("ln -s /etc/spamd.conf /usr/local/etc/spamd.conf"); mwexec("/usr/local/etc/rc.d/spamd.sh stop"); mwexec("/usr/local/etc/rc.d/spamd.sh start"); + } function remove_spaces($string) { @@ -194,10 +195,12 @@ function custom_php_install_command() { function custom_php_deinstall_command() { global $config, $g; conf_mount_rw(); + exec("killall -9 spamd"); unlink_if_exists("/usr/local/pkg/pf/spamd_rules.php"); unlink_if_exists("/usr/local/www/spamd_rules.php"); unlink_if_exists("/usr/local/etc/rc.d/spamd.sh"); conf_mount_ro(); + filter_configure(); } ?>
\ No newline at end of file |