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

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"
}