summaryrefslogtreecommitdiff
blob: 1a0daf833f026e298f8bbf513e704a9a0e7ed31d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

start() {
	ebegin "Starting DNSSEC control daemon"
	"${ROLLERD_CMD}" --rrfile "${ROLLERD_RRFILE}" \
		-directory "${ROLLERD_KRFDIR}" ${ROLLERD_OPTS}
	eend $? "failed to start rollerd"
}

stop() {
	ebegin "stoping rollerd"
	/usr/bin/rollctl -halt
	eend $? "failed to stop rollerd"
}