#!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: $ depend() { need net after saslauthd use logger } start() { ebegin "Starting dovecot" start-stop-daemon --start --quiet --exec /usr/sbin/dovecot eend $? } stop() { ebegin "Stopping dovecot" start-stop-daemon --stop --quiet --exec /usr/sbin/dovecot eend $? }