in reply to Re^4: RFC: an(other) UNIX daemon module implementation
in thread RFC: an(other) UNIX daemon module implementation
On daemontools: [...] Combined with ucspi-tcp utilities like tcpserver, you can take a Perl script that simply reads from STDIN and writes to STDOUT, run it from daemontools with a few lines of shell script, and turn it into a network daemon with user- and IP-based security, multiple connections, logging of errors, and restart on die. I don't know how many of those other services provide that, but it's pretty handy.
You can do that with xinetd, too. Actually, you don't even need perl for simpler tasks, you may use a shell script :D