aboutsummaryrefslogtreecommitdiff
path: root/mail/perdition/files/perdition.imaps.in
blob: 9ff3d9bbabe6ae61049b47a02276987b0a2d4dc3 (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_imaps
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable perdition.imaps
#
# perdition_imaps_enable="YES"
# perdition_imaps_flags="<set as needed>"
#
# See perdition(8) for flags
#

perdition_imaps_enable=${perdition_imaps_enable-"NO"}

. %%RC_SUBR%%

name="perdition_imaps"
rcvar=`set_rcvar`

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

load_rc_config $name

run_rc_command "$1"