[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Lloyd Zusman Wrote:

> Thomas Schwinge
<schwinge-lists-leafnode@xxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxx
 God bless you.


-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/