[rbldnsd] Gentoo?

Michael Tokarev mjt at corpit.ru
Wed Jul 19 17:43:38 MSD 2006


Steve E. Mosher wrote:
> Init
> bambi home # cat /etc/init.d/rbldnsd 
> #!/sbin/runscript
> # Copyright 1999-2002 Gentoo Technologies, Inc.
> # Distributed under the terms of the GNU General Public License, v2 or later
> 
> depend() {
>         need net 
> }
> 
> start() {
>         ebegin "Starting rbldnsd-server"
>         start-stop-daemon --start --quiet --pidfile /var/run/rbldnsd.pid --exec /usr/sbin/rbldnsd -- ${OPTIONS}
>         eend $?
> }
> 
> stop() {
>         ebegin "Stopping rbldnsd-server"
>         start-stop-daemon --stop --quiet --pidfile /var/run/rbldnsd.pid --exec /usr/sbin/rbldnsd
>         eend $?
> }

Hmm.  And where it takes $OPTIONS from?
That's.. interesting script ;)
(Just a small note: rbldnsd writes pid file only
if -p option is specified)

/mjt


More information about the rbldnsd mailing list