blob: ffbeb7e6d032d8707a8a33b61b6242e85cefbd74 (
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
30
|
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: imapproxyd
# REQUIRE: DAEMON courier_imap_imapd courier_imap_imapd_ssl cyrus_imapd inetd %%DOVECOT%%
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable imapproxyd:
#
# imapproxyd_enable (bool): Set "YES" to enable imapproxyd
# Default is "NO"
# imapproxyd_conf (file): Set location of conf file.
# Default is "%%PREFIX%%/etc/imapproxyd.conf"
. /etc/rc.subr
name=imapproxyd
rcvar=imapproxyd_enable
load_rc_config $name
: ${imapproxyd_enable="NO"}
: ${imapproxyd_conf="%%PREFIX%%/etc/imapproxyd.conf"}
command=%%PREFIX%%/sbin/in.imapproxyd
required_files="${imapproxyd_conf}"
run_rc_command "$1"
|