2 # Copyright 1999-2013 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
11 ebegin "Starting rbldnsd"
13 # Create -b args from the bash array $LISTEN.
15 for addr in "${LISTEN[@]}"; do
16 listenopts="${listenopts} -b $addr"
19 start-stop-daemon --start --quiet --pidfile /run/rbldnsd.pid \
20 --exec /usr/sbin/rbldnsd -- \
30 ebegin "Stopping rbldnsd"
31 start-stop-daemon --stop --quiet --pidfile /run/rbldnsd.pid \
32 --exec /usr/sbin/rbldnsd