http://www.xinetd.org/faq.html#cvssQ. How do I setup a cvs server with xinetd?
A. A user wrote in with this suggestion:
cvspserver stream tcp nowait root /usr/bin/cvs cvs –allow-root=/home/pauljohn/cvsroot –allow-root=/home/pauljohn/cvsmisc pserver
If you want to make the same work under xinetd, you save a config file in /etc/xinetd.d called cvspserver, (where the last line tells it the names of your repositories):
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/cvs
server_args = –allow-root=/home/pauljohn/cvsroot –allow-root=/opt/mycvsroot pserver
All the other cvs setup stuff is the same. This seems to work, afaik.