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

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



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
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/