[rbldnsd] rc.d scripts

Michael Tokarev rbldnsd@corpit.ru
Wed, 10 Sep 2003 21:20:38 +0400


[Non-subscriber post, so Cc added appropriately]

David Sparkman wrote:
> Does anyone have any rc.d scripts for managing rbldnsd? I am in the process
> of setting up a few local mirrors of some of the lists and want to be able
> to do basic stop / starts / restarts on it.

What OS you're using?
Take a look at debian/rbldnsd.init and debian/rbldnsd.default
inside the tarball.  It will work on linux only because of some
features of linux /proc filesystem it uses (namely, /proc/<pid>/exe
symlink), but it may be a good starting point anyway.  This file
in /proc is being used to verify whenever a given pid really
belongs to our executable.  This test may be omitted.. but this
is not recommended ;)

/mjt