Better pexp in rc script.
This commit is contained in:
parent
025ed98a5d
commit
e8c3c1ed03
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.70 2010/12/27 14:50:23 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.71 2011/03/20 06:46:50 ajacoutot Exp $
|
||||
|
||||
COMMENT= mailfilter to identify and mark spam
|
||||
|
||||
VER= 3.3.1
|
||||
DISTNAME= Mail-SpamAssassin-${VER}
|
||||
PKGNAME= p5-${DISTNAME:S/-rc/rc/}
|
||||
REVISION= 6
|
||||
REVISION= 7
|
||||
RULESNAME= Mail-SpamAssassin-rules-${VER}.r923114
|
||||
CATEGORIES= mail perl5
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: spamassassin.rc,v 1.3 2010/12/27 14:50:23 ajacoutot Exp $
|
||||
# $OpenBSD: spamassassin.rc,v 1.4 2011/03/20 06:46:50 ajacoutot Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/bin/spamd"
|
||||
daemon_flags="-d -u _spamdaemon -P"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
pexp="perl: ${daemon} ${daemon_flags}"
|
||||
pexp="perl: ${daemon}${daemon_flags:+ ${daemon_flags}}"
|
||||
|
||||
rc_cmd $1
|
||||
|
Loading…
Reference in New Issue
Block a user