diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2006-07-11 05:17:07 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2006-07-11 05:17:07 +0000 |
commit | 32f9d8efd00f380bcb1307213f04c95dc58fd476 (patch) | |
tree | a70e046c6994d21d0219d74d364fbe4c4e952413 /mail/sid-milter/files | |
parent | 877f6dd7ea63a5f0fecfdfb44928cefbab6da6b5 (diff) | |
download | ports-32f9d8efd00f380bcb1307213f04c95dc58fd476.tar.gz ports-32f9d8efd00f380bcb1307213f04c95dc58fd476.zip |
Notes
Diffstat (limited to 'mail/sid-milter/files')
-rw-r--r-- | mail/sid-milter/files/milter-sid.sh.in | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/mail/sid-milter/files/milter-sid.sh.in b/mail/sid-milter/files/milter-sid.sh.in index 2ae9949296f1..daf10520dff9 100644 --- a/mail/sid-milter/files/milter-sid.sh.in +++ b/mail/sid-milter/files/milter-sid.sh.in @@ -13,24 +13,25 @@ # /etc/rc.conf.local # /etc/rc.conf.d/miltersid # -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# -miltersid_enable=${miltersid_enable:-"NO"} -miltersid_socket=${miltersid_socket:-"local:/var/run/sid-filter"} -miltersid_pid=${miltersid_pid:-"/var/run/sid-filter.pid"} -miltersid_flags=${miltersid_flags:-"-r 0 -t"} . %%RC_SUBR%% name="miltersid" -pidfile=${miltersid_pid} rcvar=`set_rcvar` +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}" stop_postcmd="sid_postcmd" -load_rc_config $name - sid_postcmd () { if [ -S ${miltersid_socket##local:} ] ; then |