info-cvs
[Top][All Lists]
Advanced

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

Re: Multiple repositories using pserver


From: Larry Jones
Subject: Re: Multiple repositories using pserver
Date: Mon, 12 Jan 2004 11:18:00 -0500 (EST)

"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]