aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/spamd_whitelist.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/spamd_whitelist.xml b/packages/spamd_whitelist.xml
index c63ba36b..2f6b26ad 100644
--- a/packages/spamd_whitelist.xml
+++ b/packages/spamd_whitelist.xml
@@ -69,7 +69,8 @@
fwrite($fd, $spamd['ip'] . "\n");
}
fclose($fd);
- system("/usr/local/etc/rc.d/spamd 2>/dev/null");
+ /* signal a reload of all files */
+ mwexec("killall -HUP spamlogd");
conf_mount_ro();
config_unlock();
}