From cc2369862e19629bd28a767e5030212c3fd4e7b5 Mon Sep 17 00:00:00 2001 From: hubertf Date: Thu, 5 Sep 2002 09:03:33 +0000 Subject: The SpamAssassin daemon (spamd) must be started with the -d flag to really become a daemon, but that flag is missing in the provided rc.d script. Patch by Urban Boquist in PR 18171 --- mail/spamassassin/files/spamd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/spamassassin/files/spamd.sh b/mail/spamassassin/files/spamd.sh index 599b64e91cb..05317d4687d 100755 --- a/mail/spamassassin/files/spamd.sh +++ b/mail/spamassassin/files/spamd.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: spamd.sh,v 1.2 2002/08/30 11:17:10 abs Exp $ +# $NetBSD: spamd.sh,v 1.3 2002/09/05 09:03:33 hubertf Exp $ # # PROVIDE: spamd # REQUIRE: DAEMON @@ -10,7 +10,7 @@ name="spamd" rcvar=$name command="/usr/pkg/bin/${name}" -command_args="-r /var/run/${name}.pid" +command_args="-d -r /var/run/${name}.pid" command_interpreter="@PREFIX@/bin/perl" pidfile="/var/run/${name}.pid" -- cgit v1.2.3