diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-01-28 04:11:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-01-28 04:11:43 +0000 |
commit | 1e336adfbf8aafeff2c558c16d3fc2220adced1c (patch) | |
tree | 72943e497744d9cb674a6f059a83eb8c267af9ef /packages/spamd.inc | |
parent | 3922ab2b8c9bb74aec6b30ba97d65c8307fc89cc (diff) | |
download | pfsense-packages-1e336adfbf8aafeff2c558c16d3fc2220adced1c.tar.gz pfsense-packages-1e336adfbf8aafeff2c558c16d3fc2220adced1c.tar.bz2 pfsense-packages-1e336adfbf8aafeff2c558c16d3fc2220adced1c.zip |
If logging device is attached, write out starting spamlogd to try and hunt down a hang
Diffstat (limited to 'packages/spamd.inc')
-rw-r--r-- | packages/spamd.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc index 082e9458..2a4b8ac7 100644 --- a/packages/spamd.inc +++ b/packages/spamd.inc @@ -44,8 +44,6 @@ function sync_package_spamd() { function custom_php_install_command() { global $config, $g; system("touch /var/db/whitelist.txt"); - system("/usr/local/libexec/spamd -G 25:4:864 &"); - system("/usr/libexec/spamlogd &"); $start = "/usr/local/sbin/spamd-setup &\n" . "/sbin/pflogd &\n" . "/sbin/mount_fdescfs fdescfs /dev/fd\n" . @@ -61,6 +59,8 @@ function custom_php_install_command() { "stop" => $stop ) ); + if($fd_log) + fwrite($fd_log, "Starting SpamD...\n"); update_output_window("Starting SpamD..."); start_service("spamd"); } |