diff options
Diffstat (limited to 'mail/dovecot/files/dovecot.sh.in')
-rw-r--r-- | mail/dovecot/files/dovecot.sh.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mail/dovecot/files/dovecot.sh.in b/mail/dovecot/files/dovecot.sh.in new file mode 100644 index 000000000000..f6697f1ba23a --- /dev/null +++ b/mail/dovecot/files/dovecot.sh.in @@ -0,0 +1,26 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: dovecot +# REQUIRE: LOGIN +# KEYWORD: FreeBSD shutdown + +# +# Add the following lines to /etc/rc.conf to enable dovecot: +# +#dovecot_enable="YES" +# + +. %%RC_SUBR%% + +name=dovecot +rcvar=`set_rcvar` + +: ${dovecot_enable:="NO"} +command=%%PREFIX%%/sbin/${name} +required_files=%%PREFIX%%/etc/${name}.conf + +load_rc_config ${name} +run_rc_command "$1" |