aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-04-17 22:22:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-04-17 22:22:31 +0000
commit3ae4889c7b772a4863656c2f886b8fbfa4ca213c (patch)
treea9276e87c48022fad886f9be3e6f33ff8b04b04d /packages/spamd.inc
parent7e77df655240f78090a754680fc91ccf67573abe (diff)
downloadpfsense-packages-3ae4889c7b772a4863656c2f886b8fbfa4ca213c.tar.gz
pfsense-packages-3ae4889c7b772a4863656c2f886b8fbfa4ca213c.tar.bz2
pfsense-packages-3ae4889c7b772a4863656c2f886b8fbfa4ca213c.zip
Sleep between restarting.
Diffstat (limited to 'packages/spamd.inc')
-rw-r--r--packages/spamd.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index 6520aa3b..7062bad6 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -1,4 +1,4 @@
-<?php
+c<?php
/* $Id$ */
/*
spamd.inc
@@ -138,6 +138,7 @@ function sync_package_spamd() {
mwexec("killall -HUP cron");
mwexec("ln -s /etc/spamd.conf /usr/local/etc/spamd.conf");
mwexec("/usr/local/etc/rc.d/spamd.sh stop");
+ sleep(1);
mwexec("/usr/local/etc/rc.d/spamd.sh start");
}