summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-03-25 16:22:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-03-25 16:22:59 +0000
commit0123a6d5eaf67529d5204a11fdb9ed44fc0c2825 (patch)
tree5e81afd17b437616f70e176fc02ef353f62a0488
parentFix build on 4.x by eliminating some C99 constructs (declarations after (diff)
Makes spamd's pidfile tunable
PR: 64713 Submitted by: sheldonh
-rw-r--r--mail/p5-Mail-SpamAssassin/files/spamd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/p5-Mail-SpamAssassin/files/spamd.sh b/mail/p5-Mail-SpamAssassin/files/spamd.sh
index f33aa9c1e20f..f99c0967c2ca 100644
--- a/mail/p5-Mail-SpamAssassin/files/spamd.sh
+++ b/mail/p5-Mail-SpamAssassin/files/spamd.sh
@@ -22,7 +22,6 @@ name=spamd
rcvar=`set_rcvar`
command=%%PREFIX%%/bin/spamd
-pidfile=/var/run/spamd.pid
required_dirs=%%PREFIX%%/share/spamassassin
stop_postcmd=stop_postcmd
@@ -36,6 +35,7 @@ stop_postcmd()
spamd_enable=${spamd_enable:-"NO"}
spamd_flags=${spamd_flags:-"-a -c -d -r ${pidfile}"}
+spamd_pidfile=${spamd_pidfile:-"/var/run/spamd.pid"}
load_rc_config $name
run_rc_command "$1"