c49d1a3273
We have not checked for this KEYWORD for a long time now, so this is a complete noop, and thus no PORTREVISION bump. Removing it at this point is mostly for pedantic reasons, and partly to avoid perpetuating this anachronism by copy and paste to future scripts.
32 lines
597 B
Bash
32 lines
597 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: amavis_milter
|
|
# REQUIRE: amavisd
|
|
# BEFORE: mail
|
|
# KEYWORD: shutdown
|
|
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable amavis-milter:
|
|
#
|
|
#amavis_milter_enable="YES"
|
|
#
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name=amavis_milter
|
|
rcvar=`set_rcvar`
|
|
|
|
command=%%PREFIX%%/sbin/amavis-milter
|
|
required_files=%%PREFIX%%/etc/amavisd.conf
|
|
|
|
# set defaults
|
|
|
|
amavis_milter_enable=${amavis_milter_enable:-"NO"}
|
|
amavis_milter_flags=${amavis_milter_flags:-"-D -p %%AMAVISDIR%%/amavis-milter.sock"}
|
|
amavis_milter_user=${amavis_milter_user:-"%%AMAVISUSER%%"}
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|