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

Lloyd Zusman ljz at asfast.com
Thu Sep 22 11:54:04 CEST 2005


Lloyd Zusman Wrote:

> 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.

OK ... now I realize that the "tcpserver" program manages the connections
instead of [x]inetd.  I'm sorry for the confusion.

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





More information about the leafnode-list mailing list