unbreak spamd startup.

o use ${spamd_pidfile}, instead of ${pidfile}.
o ${spamd_pidfile} should be used after its definition.
This commit is contained in:
FUJISHIMA Satsuki 2004-03-30 20:21:04 +00:00
parent e9b85f1e56
commit cd11a33907
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105730
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= Mail-SpamAssassin
PORTVERSION= 2.63
PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= http://spamassassin.org/released/ \
${MASTER_SITE_PERL_CPAN}

View File

@ -34,8 +34,8 @@ stop_postcmd()
# set defaults
spamd_enable=${spamd_enable:-"NO"}
spamd_flags=${spamd_flags:-"-a -c -d -r ${pidfile}"}
spamd_pidfile=${spamd_pidfile:-"/var/run/spamd.pid"}
spamd_flags=${spamd_flags:-"-a -c -d -r ${spamd_pidfile}"}
load_rc_config $name
run_rc_command "$1"