summaryrefslogtreecommitdiff
path: root/mail/perdition/files/perdition.imap4.in
blob: 1d3fa3a374a5554af9534e755e5632f4b35779b5 (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
#!/bin/sh

# PROVIDE: perdition_imap4
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable perdition.imap4
#
# perdition_imap4_enable="YES"
# perdition_imap4_flags="<set as needed>"
#
# See perdition(8) for flags
#

perdition_imap4_enable=${perdition_imap4_enable-"NO"}

. /etc/rc.subr

name="perdition_imap4"
rcvar=perdition_imap4_enable

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

load_rc_config $name

run_rc_command "$1"