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

Lloyd Zusman ljz at asfast.com
Thu Sep 22 11:27:17 CEST 2005


Thomas Schwinge <schwinge-lists-leafnode at nic-nac-project.de> writes:

> 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

Thanks.

I'm sorry, but I did not ask my question clearly.  What I wanted to know
is _how_ leafnode works under these circumstances?  Can it handle
multiple simultaneous connections?  Under [x]inetd, it seems to only
respond to a single connection, and then die when the user disconnects.

Thanks again ...


-- 
 Lloyd Zusman
 ljz at asfast.com
 God bless you.




More information about the leafnode-list mailing list