b0822e719f
- Use OPTIONS macro for 'make config' - Add rcNG startup script, add USE_RC_SUBR - Add SIZE to distinfo - Bump PORTREVISION PR: ports/61905 Submitted by: maintainer
26 lines
368 B
Bash
26 lines
368 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
# PROVIDE: dovecot
|
|
# REQUIRE: LOGIN
|
|
# KEYWORD: FreeBSD shutdown
|
|
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable dovecot:
|
|
#
|
|
#dovecot_enable="YES"
|
|
#
|
|
dovecot_enable="NO"
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name=dovecot
|
|
rcvar=`set_rcvar`
|
|
|
|
command=%%PREFIX%%/sbin/${name}
|
|
required_files=%%PREFIX%%/etc/${name}.conf
|
|
|
|
load_rc_config ${name}
|
|
run_rc_command "$1"
|