aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2007-10-21 16:39:59 +0800
committerdinoex <dinoex@FreeBSD.org>2007-10-21 16:39:59 +0800
commit8a307f321eaf8804bc934ea5a7aa991a8e2f1c2f (patch)
tree9ce24cb09b9be1fb42d388c9353edbdeebe2d6f3 /mail
parentaf013ccf41642acd1537c28830aa96d06dcd4e02 (diff)
downloadfreebsd-ports-gnome-8a307f321eaf8804bc934ea5a7aa991a8e2f1c2f.tar.gz
freebsd-ports-gnome-8a307f321eaf8804bc934ea5a7aa991a8e2f1c2f.tar.zst
freebsd-ports-gnome-8a307f321eaf8804bc934ea5a7aa991a8e2f1c2f.zip
- fix rc script
PR: 117340 Submitted by: Xin LI
Diffstat (limited to 'mail')
-rw-r--r--mail/sid-milter/Makefile2
-rw-r--r--mail/sid-milter/files/milter-sid.sh.in5
2 files changed, 3 insertions, 4 deletions
diff --git a/mail/sid-milter/Makefile b/mail/sid-milter/Makefile
index d1e6043a44e6..816fc4d01403 100644
--- a/mail/sid-milter/Makefile
+++ b/mail/sid-milter/Makefile
@@ -7,7 +7,7 @@
PORTNAME= sid-milter
PORTVERSION= 0.2.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sid-milter
diff --git a/mail/sid-milter/files/milter-sid.sh.in b/mail/sid-milter/files/milter-sid.sh.in
index daf10520dff9..bf1f9a78fbc8 100644
--- a/mail/sid-milter/files/milter-sid.sh.in
+++ b/mail/sid-milter/files/milter-sid.sh.in
@@ -6,7 +6,6 @@
# PROVIDE: miltersid
# REQUIRE: DAEMON
# BEFORE: mail localpkg
-# KEYWORD: shutdown
# Define these miltersid_* variables in one of these files:
# /etc/rc.conf
@@ -30,9 +29,9 @@ load_rc_config $name
pidfile=${miltersid_pid}
command="%%PREFIX%%/libexec/sid-filter"
command_args="-l -p ${miltersid_socket} -P ${miltersid_pid}"
-stop_postcmd="sid_postcmd"
+start_precmd="sid_precmd"
-sid_postcmd ()
+sid_precmd ()
{
if [ -S ${miltersid_socket##local:} ] ; then
rm -f ${miltersid_socket##local:}