blob: 272b1903a06f39bfb549aeb738805fc1de30992c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dns/rbldnsd/files/initd-0.997,v 1.1 2013/07/08 17:08:52 xmw Exp $
depend() {
need net
}
start() {
ebegin "Starting rbldnsd"
start-stop-daemon --start --quiet --pidfile /run/rbldnsd.pid \
--exec /usr/sbin/rbldnsd -- \
-r /var/db/rbldnsd \
-p /run/rbldnsd.pid \
${LISTEN[@]/#/-b} \
${OPTIONS} \
"${ZONES[@]}"
eend $?
}
stop() {
ebegin "Stopping rbldnsd"
start-stop-daemon --stop --quiet --pidfile /run/rbldnsd.pid \
--exec /usr/sbin/rbldnsd
eend $?
}
|