#!/sbin/openrc-run

pidfile=/run/opendkim/opendkim.pid

command=/usr/sbin/opendkim
command_args="-f ${EXTRA_OPTS}"
command_background=yes

depend() {
	need net
	before mta
}

start_pre() {
	checkpath -d -o opendkim:opendkim -m755 /run/opendkim
}
