summaryrefslogtreecommitdiff
path: root/mail/spamassassin
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2002-09-05 09:03:33 +0000
committerhubertf <hubertf@pkgsrc.org>2002-09-05 09:03:33 +0000
commit24616a7a60ff3dd22a7fe617427086d923f7d347 (patch)
treeaa1aeb0d55f6c8adb07bf01ceec4945f520ad485 /mail/spamassassin
parenta194170912de7aaf065f0a3566d7d2f0e48daf78 (diff)
downloadpkgsrc-24616a7a60ff3dd22a7fe617427086d923f7d347.tar.gz
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 <urban@boquist.net> in PR 18171
Diffstat (limited to 'mail/spamassassin')
-rwxr-xr-xmail/spamassassin/files/spamd.sh4
1 files changed, 2 insertions, 2 deletions
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"