aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-08 03:31:42 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-08 03:31:42 +0000
commit8f195a0680a66606804753821a57a1c0858c93a1 (patch)
tree71aed52ba6d6a2bae2ac6a8ddd3833dcbd1d4f2e /packages/spamd.inc
parent6c42ddc5b26207d3251fab5e14c52721dcabe97b (diff)
downloadpfsense-packages-8f195a0680a66606804753821a57a1c0858c93a1.tar.gz
pfsense-packages-8f195a0680a66606804753821a57a1c0858c93a1.tar.bz2
pfsense-packages-8f195a0680a66606804753821a57a1c0858c93a1.zip
Use mwexec_bg() otherwise we block php
Diffstat (limited to 'packages/spamd.inc')
-rw-r--r--packages/spamd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index c3dda405..56a9e268 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -152,7 +152,7 @@ function sync_package_spamd() {
mwexec("/usr/local/etc/rc.d/spamd.sh stop");
sleep(1);
log_error("Starting spamd");
- mwexec("/usr/local/etc/rc.d/spamd.sh start");
+ mwexec_bg("/usr/local/etc/rc.d/spamd.sh start");
log_error("Reconfiguring filter");
filter_configure();
log_error("SpamD setup completed");