aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sid-milter/files
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/sid-milter/files
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/sid-milter/files')
-rw-r--r--mail/sid-milter/files/milter-sid.sh.in5
1 files changed, 2 insertions, 3 deletions
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:}