aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-02-01 02:59:29 +0800
committerrafan <rafan@FreeBSD.org>2007-02-01 02:59:29 +0800
commit423251071c4550043bd6d94287d360ef03e2e95e (patch)
tree04a4098c64a48e1fbbb167ea6db99818a7725f49 /mail
parent1864a505cc70b168ab12597c48df6502c4310ab4 (diff)
downloadfreebsd-ports-gnome-423251071c4550043bd6d94287d360ef03e2e95e.tar.gz
freebsd-ports-gnome-423251071c4550043bd6d94287d360ef03e2e95e.tar.zst
freebsd-ports-gnome-423251071c4550043bd6d94287d360ef03e2e95e.zip
- Use newly added @stopdaemon
Approved by: Larry Rosenman <ler at lerctr.org> (maintainer)
Diffstat (limited to 'mail')
-rw-r--r--mail/exilog/Makefile6
-rw-r--r--mail/exilog/pkg-plist2
2 files changed, 1 insertions, 7 deletions
diff --git a/mail/exilog/Makefile b/mail/exilog/Makefile
index e1f96c142551..ddb6c88274cd 100644
--- a/mail/exilog/Makefile
+++ b/mail/exilog/Makefile
@@ -47,12 +47,6 @@ PLIST_SUB+= AGENT="@comment "
.else
USE_RC_SUBR= exilog.sh
PLIST_SUB+= AGENT=""
-.if (${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION} >= 600101))
-RCSCRIPT= exilog
-.else
-RCSCRIPT= exilog.sh
-.endif
-PLIST_SUB+= RCSCRIPT=${RCSCRIPT}
.endif
PLIST_SUB+= EXILOGDIR="${EXILOGDIR:S,^${PREFIX}/,,}"
diff --git a/mail/exilog/pkg-plist b/mail/exilog/pkg-plist
index 0184ec2fdd96..bb7433729a5b 100644
--- a/mail/exilog/pkg-plist
+++ b/mail/exilog/pkg-plist
@@ -1,4 +1,4 @@
-%%AGENT%%@unexec [ ! -f /var/run/exilog.pid ] || %D/etc/rc.d/%%RCSCRIPT%% stop
+%%AGENT%%@stopdaemon
%%AGENT%%sbin/exilog_agent.pl
sbin/exilog_cleanup.pl
%%EXILOGDIR%%/exilog_cgi.pl