[leafnode-list] Re: Leafnode and runit/daemontools?

Thomas Schwinge schwinge-lists-leafnode at nic-nac-project.de
Thu Sep 22 11:15:31 CEST 2005


On Thu, Sep 22, 2005 at 05:00:57AM -0400, Lloyd Zusman wrote:
> However, I don't see how leafnode could be meaningfully run under runit
> or daemontools, as it's meant to be invoked by [x]inetd
--or tcpserver--
> when someone
> connects to the nntp port, as stated in this text from that same man
> page:

> How would leafnode run under runit/daemontools?

Like this, for example:
#v+
#!/bin/sh
exec 2>&1
exec \
envuidgid leafnode \
tcpserver -vU -x rules.cdb -c 10 0 119 \
leafnode
#v-


Regards,
 Thomas



More information about the leafnode-list mailing list