freebsd-ports/mail/dovecot/files/dovecot.sh
Sergei Kolobov b0822e719f - Fix build on -CURRENT following deprecation of EAI_NODATA (see RFC 3493)
- 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
2004-02-01 16:01:30 +00:00

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"