aboutsummaryrefslogtreecommitdiffstats
path: root/mail/perdition/files/perdition.managesieve.in
blob: aeac444a1cad2aaea943b5e3f7bcb34376503b7d (plain) (blame)
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
26
27
28
29
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: perdition_managesieve
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable perdition.managesieve
#
# perdition_managesieve_enable="YES"
# perdition_managesieve_flags="<set as needed>"
#
# See perdition(8) for flags
#

perdition_managesieve_enable=${perdition_managesieve_enable-"NO"}

. /etc/rc.subr

name="perdition_managesieve"
rcvar=perdition_managesieve_enable

command="%%PREFIX%%/sbin/perdition.managesieve"
pidfile="/var/run/perdition.managesieve/perdition.managesieve.pid"

load_rc_config $name

run_rc_command "$1"