You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by qu...@apache.org on 2004/05/02 23:51:17 UTC

svn commit: rev 10497 - incubator/spamassassin/trunk/spamd

Author: quinlan
Date: Sun May  2 14:51:16 2004
New Revision: 10497

Modified:
   incubator/spamassassin/trunk/spamd/redhat-rc-script.sh
Log:
always start with a reasonable default configuration


Modified: incubator/spamassassin/trunk/spamd/redhat-rc-script.sh
==============================================================================
--- incubator/spamassassin/trunk/spamd/redhat-rc-script.sh	(original)
+++ incubator/spamassassin/trunk/spamd/redhat-rc-script.sh	Sun May  2 14:51:16 2004
@@ -17,11 +17,12 @@
 # Check that networking is up.
 [ ${NETWORKING} = "no" ] && exit 0
 
+# Set default spamd configuration.
+SPAMDOPTIONS="-d -c -m5 -H"
+
 # Source spamd configuration.
 if [ -f /etc/sysconfig/spamassassin ] ; then
-        . /etc/sysconfig/spamassassin
-else
-        SPAMDOPTIONS="-d -c -m5 -H"
+	. /etc/sysconfig/spamassassin
 fi
 
 [ -f /usr/bin/spamd -o -f /usr/local/bin/spamd ] || exit 0