aboutsummaryrefslogtreecommitdiffstats
path: root/config/spamd
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-10-02 12:52:32 +0200
committerdoktornotor <notordoktor@gmail.com>2015-10-02 12:52:32 +0200
commit5600fbe4164fbd8df618d29ff1ec620f40514577 (patch)
tree70ef12be0c57d56e017ebd688148c121eb5d1372 /config/spamd
parent83c5ad5918b32cd0ac1da6b78ac672afb9ae098e (diff)
downloadpfsense-packages-5600fbe4164fbd8df618d29ff1ec620f40514577.tar.gz
pfsense-packages-5600fbe4164fbd8df618d29ff1ec620f40514577.tar.bz2
pfsense-packages-5600fbe4164fbd8df618d29ff1ec620f40514577.zip
Fix the spamd-setup cronjob options as well
Diffstat (limited to 'config/spamd')
-rw-r--r--config/spamd/spamd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc
index 3f1a6489..d62472ef 100644
--- a/config/spamd/spamd.inc
+++ b/config/spamd/spamd.inc
@@ -191,7 +191,7 @@ EOF;
write_rcfile($rc);
log_error("[spamd] Installing cron job");
- install_cron_job("/usr/bin/nice -n20 /usr/local/sbin/spamd-setup", true, "*/120");
+ install_cron_job("/usr/bin/nice -n20 /usr/local/sbin/spamd-setup -d -D {$spamd_setup_opts}", true, "*/120");
log_error("[spamd] Setting up spamd.conf symlink");
unlink_if_exists("{$localpath}/etc/spamd/spamd.conf");
symlink("/etc/spamd.conf", "{$localpath}/etc/spamd/spamd.conf");