aboutsummaryrefslogtreecommitdiff
path: root/mail/perdition/files/perdition.pop3.in
blob: 4b3893dbe13b0af92cbe4f5e611a9ac7c61c0101 (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_pop3
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable perdition.pop3
#
# perdition_pop3_enable="YES"
# perdition_pop3_flags="<set as needed>"
#
# See perdition(8) for flags
#

perdition_pop3_enable=${perdition_pop3_enable-"NO"}

. /etc/rc.subr

name="perdition_pop3"
rcvar=perdition_pop3_enable

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

load_rc_config $name

run_rc_command "$1"