diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-30 03:28:17 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-30 03:28:17 +0000 |
commit | 9744080fa72a02ec6afe5e129cfb920d3a342151 (patch) | |
tree | 16963ee403ee72ab3ce022a5823739f54ae77720 /packages | |
parent | 56616be63beaae413a4fccf1459d53c6ef66cb1c (diff) | |
download | pfsense-packages-9744080fa72a02ec6afe5e129cfb920d3a342151.tar.gz pfsense-packages-9744080fa72a02ec6afe5e129cfb920d3a342151.tar.bz2 pfsense-packages-9744080fa72a02ec6afe5e129cfb920d3a342151.zip |
Use rc.d scripts to work around a bug of some kind
Diffstat (limited to 'packages')
-rw-r--r-- | packages/spamd.inc | 5 |
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() { |