#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/popa3d/files/popa3d-initrc,v 1.3 2004/07/14 23:51:32 agriffis Exp $

depend() {
	need net
}

start() {
	ebegin "Starting popa3d"
	start-stop-daemon --start --quiet --exec /usr/sbin/popa3d -- -D
	eend $?
}

stop() {
	ebegin "Stopping popa3d"
	start-stop-daemon --stop --quiet --exec /usr/sbin/popa3d
	eend $?
}