On Mon, 2003-09-15 at 16:07, Mark Jaffe wrote:
> Mark,
>
> Thanks! Can you give me an example? How would this look in inetd.conf?
Like this:
===============================
[EMAIL PROTECTED] gforge]$ cat /etc/xinetd.d/cvspserver
service cvspserver
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = anonymous
server = /usr/bin/mypserver.sh
server_args = -f
}
[EMAIL PROTECTED] gforge]$
===============================
where mypserver.sh is the name of your script. It could look something
like:
===============================
[EMAIL PROTECTED] gforge]$ cat /usr/bin/mypserver.sh
#!/bin/sh
/usr/bin/cvs -f `ls -d /var/cvs/* | sed -e '1,$s/.*/--allow-root=&/'`
pserver
[EMAIL PROTECTED] gforge]$
===============================
Yours,
Tom
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs