blob: 010a0c7a4473cff037263259a95aff01f099f364 (
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
#
# $FreeBSD$
#
# PROVIDE: imap4d
# REQUIRE: DAEMON
# BEFORE: mail
# KEYWORD: shutdown
#
. /etc/rc.subr
name="imap4d"
rcvar=imap4d_enable
: ${imap4d_enable="NO"}
command="%%PREFIX%%/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="%%PREFIX%%/etc/mailutils.conf %%PREFIX%%/etc/mailutils/${name}"
extra_commands="configlint"
configlint_cmd="${name} --config-lint"
load_rc_config ${name}
run_rc_command "$1"
|