From 1e336adfbf8aafeff2c558c16d3fc2220adced1c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 28 Jan 2006 04:11:43 +0000 Subject: If logging device is attached, write out starting spamlogd to try and hunt down a hang --- packages/spamd.inc | 4 ++-- 1 file 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"); } -- cgit v1.2.3