aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/spamd.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index ecceeaac..e8cf67cc 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -95,9 +95,8 @@ function sync_package_spamd() {
);
conf_mount_ro();
config_unlock();
- stop_service("spamd");
- sleep(1);
- start_service("spamd");
+ mwexec("/usr/local/etc/rc.d/spamd.sh stop");
+ mwexec("/usr/local/etc/rc.d/spamd.sh start");
}
function custom_php_install_command() {