You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-dns/dnssec-tools/files/donutsd.initd

20 lines
522 B

#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need mta
}
start() {
ebegin "Starting the DNSSEC monitoring daemon"
start-stop-daemon --start --pidfile ${DONUTSD_PIDFILE} --make-pidfile --background --exec ${DONUTSD_CMD} -- -i ${DONUTSD_CONFPATH} ${DONUTSD_OPTS}
eend $? "failed to start donutsd"
}
stop() {
ebegin "Stopping donutsd"
start-stop-daemon --stop --pidfile ${DONUTSD_PIDFILE}
eend $? "Failed to stop donutsd"
}