info-cvs
[Top][All Lists]
Advanced

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

RE: Multiple repositories using pserver


From: RAJAGOPAL, AARTI (SBCSI)
Subject: RE: Multiple repositories using pserver
Date: Mon, 12 Jan 2004 10:22:20 -0600

Yes, you do need the full path of the script in inetd.conf

Not sure what the "exec" does? Can you pl. verify? Is that optional? Because
mine worked without it....thanks.

-----Original Message-----
From: address@hidden [mailto:address@hidden 
Sent: Monday, January 12, 2004 10:18 AM
To: RAJAGOPAL, AARTI (SBCSI)
Cc: address@hidden
Subject: Re: Multiple repositories using pserver


"RAJAGOPAL, AARTI (SBCSI)" writes:
> 
> Set up inetd.conf as follows:
> cvspserver      stream  tcp     nowait  root    cvsscript

You're missing a field -- there are supposed to be seven, not six.  You
need the full path to the script as the next-to-last field.

> Contents of cvsscript:
> #!/bin/ksh
> /usr/bin/env -i /usr/local/bin/cvs -f --allow-root=/home/cvs/area1
--allow-root=/home/cvs/area2 pserver

You can eliminate an unneeded process by "exec"ing /usr/bin/env:

        #!/bin/ksh
        exec /usr/bin/env -i /usr/local/bin/cvs -f
--allow-root=/home/cvs/area1 --allow-root=/home/cvs/area2 pserver

-Larry Jones

Temporary insanity!  That's all it was! -- Calvin




reply via email to

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