summaryrefslogtreecommitdiff
blob: df4cc3cefdfb76cfbb703e9172b33a055b7891a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/maradns/files/zoneserver.rc6,v 1.3 2008/01/06 03:10:37 matsuu Exp $

depend() {
	need net
}

start() {
	ebegin "Starting zoneserver"
	start-stop-daemon --start --quiet --name zoneserver \
		--exec /usr/bin/duende /usr/sbin/zoneserver
	eend $?
}

stop() {
	ebegin "Stopping zoneserver"
	start-stop-daemon --stop --quiet --name zoneserver
	eend $?
}