blob: 1dc5a045f82891ee42f3c5bf39ec28b9301e0d80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: spamass-milter.sh,v 1.2 2005/08/23 13:40:02 tv Exp $
#
# PROVIDE: spamass-milter
# REQUIRE: spamd
# KEYWORD: shutdown
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="spamass_milter"
rcvar=${name}
command="@PREFIX@/sbin/spamass-milter"
command_args="-u nobody -p /var/run/spamass.sock -f"
if [ -f /etc/rc.subr ]; then
load_rc_config $name
run_rc_command "$1"
else
@ECHO@ -n " ${name}"
${command} ${command_args} ${spamass_milter_flags}
fi
|