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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 12, 2004 10:18 AM
To: RAJAGOPAL, AARTI (SBCSI)
Cc: [EMAIL PROTECTED]
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


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to