diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-08-05 23:19:36 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-08-05 23:19:36 +0000 |
commit | 9aac569eaa031e27191a3f4165b389a17f467ad2 (patch) | |
tree | 1ed78841e1757014ccc09581c61c3683992d3f77 /mail/sid-milter/files/milter-sid.sh.in | |
parent | 47b836bfe5c397deb173a868525d4cba22cbb5fa (diff) | |
download | ports-9aac569eaa031e27191a3f4165b389a17f467ad2.tar.gz ports-9aac569eaa031e27191a3f4165b389a17f467ad2.zip |
Notes
Diffstat (limited to 'mail/sid-milter/files/milter-sid.sh.in')
-rw-r--r-- | mail/sid-milter/files/milter-sid.sh.in | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/mail/sid-milter/files/milter-sid.sh.in b/mail/sid-milter/files/milter-sid.sh.in deleted file mode 100644 index a923e2b8f0b7..000000000000 --- a/mail/sid-milter/files/milter-sid.sh.in +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: miltersid -# REQUIRE: DAEMON -# BEFORE: mail localpkg - -# Define these miltersid_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# /etc/rc.conf.d/miltersid -# - -. /etc/rc.subr - -name="miltersid" -rcvar="miltersid_enable" -load_rc_config $name - -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# -: ${miltersid_enable="NO"} -: ${miltersid_socket="local:/var/run/sid-filter"} -: ${miltersid_pid="/var/run/sid-filter.pid"} -: ${miltersid_flags="-r 0 -t"} - -pidfile=${miltersid_pid} -command="%%PREFIX%%/libexec/sid-filter" -command_args="-l -p ${miltersid_socket} -P ${miltersid_pid}" -start_precmd="sid_precmd" - -sid_precmd () -{ - if [ -S ${miltersid_socket##local:} ] ; then - rm -f ${miltersid_socket##local:} - elif [ -S ${miltersid_socket##unix:} ] ; then - rm -f ${miltersid_socket##unix:} - fi -} - -run_rc_command "$1" |