[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Limit on number of repositories?
From: |
Tom Copeland |
Subject: |
Re: Limit on number of repositories? |
Date: |
Mon, 15 Sep 2003 16:38:16 -0400 |
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:
===============================
address@hidden 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
}
address@hidden gforge]$
===============================
where mypserver.sh is the name of your script. It could look something
like:
===============================
address@hidden gforge]$ cat /usr/bin/mypserver.sh
#!/bin/sh
/usr/bin/cvs -f `ls -d /var/cvs/* | sed -e '1,$s/.*/--allow-root=&/'`
pserver
address@hidden gforge]$
===============================
Yours,
Tom