diff options
author | dinoex <dinoex@FreeBSD.org> | 2007-10-21 16:39:59 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2007-10-21 16:39:59 +0800 |
commit | 8a307f321eaf8804bc934ea5a7aa991a8e2f1c2f (patch) | |
tree | 9ce24cb09b9be1fb42d388c9353edbdeebe2d6f3 /mail/sid-milter/files | |
parent | af013ccf41642acd1537c28830aa96d06dcd4e02 (diff) | |
download | freebsd-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.in | 5 |
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:} |