info-cvs
[Top][All Lists]
Advanced

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

Re: Example of invoking "cvs pserver" from shell script


From: Baris Sahin
Subject: Re: Example of invoking "cvs pserver" from shell script
Date: Mon, 23 Dec 2002 17:29:51 +0200

Hi,

I am using 11 repositories on my cvs server,
I had the same problem before. Solution:
Put this line into /etc/inetd.conf

cvspserver      stream  tcp     nowait  root    /usr/local/cvs/bin/runcvs

runcvs is shell script file (change the location according to your
installation, and chmod +x)
runcvs file:
-------------- copy here ------------------------
#!/bin/sh
/usr/local/cvs/bin/cvs \
                        --allow-root=/repository1 \
                        --allow-root=/repository2 \
                        --allow-root=/repository2 \
                        --allow-root=/repository3 \
                        --allow-root=/repository4 \
                        --allow-root=/repository5 \
                        --allow-root=/repository6 \
                        --allow-root=/repository7 \
                        --allow-root=/repository8 \
                        --allow-root=/repository9 \
                        --allow-root=/repository10 \
                        --allow-root=/repository11 \
                        pserver
------------------------------------------------------


Regards
baris
address@hidden


----- Original Message -----
From: "Kyle Adams" <address@hidden>
To: <address@hidden>
Sent: Monday, December 23, 2002 5:07 PM
Subject: Example of invoking "cvs pserver" from shell script


> >From the Cederqvist, section 2.9.3.1 "Setting up the server for
> password authentication":
>
> "Unfortunately, many versions of inetd have very small limits on the
> number of arguments and/or the total length of the command. The usual
> solution to this problem is to have inetd run a shell script which then
> invokes CVS with the necessary arguments."
>
> Which is exactly the problem I find myself in - the addition of our
> sixth repository puts the command over the limit for our version of
> inetd.  I was wondering if there were any examples anywhere of the
> solution given in the manual.
>
> Finally, are there any limitations on the number of repositories that
> can be run from one CVS server?
>
> Thanks,
>
> Kyle Adams
> Java Developer
> Gordon Food Service
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]