[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mulitple Repositories
From: |
Larry Jones |
Subject: |
Re: Mulitple Repositories |
Date: |
Mon, 16 Jul 2001 11:53:35 -0400 (EDT) |
Vivek writes:
>
> Can u suggest how to start CVS through a shell script instead of
> starting through inetd.conf?
You just have inetd run a shell script instead of the CVS executable,
and then the shell script runs CVS. For example, change /etc/inetd.conf
to read:
cvspserver stream tcp nowait root /usr/local/bin/myscript myscript
and then in /usr/local/bin/myscript:
#! /bin/sh
exec /usr/local/bin/cvs -f \
--allow-root=/CVS/root1 \
--allow-root=/CVS/root2 \
--allow-root=/CVS/root3 \
--allow-root=/CVS/root4 \
--allow-root=/CVS/root5 \
--allow-root=/CVS/root6 \
--allow-root=/CVS/root7 \
--allow-root=/CVS/root8 \
--allow-root=/CVS/root9 \
pserver
-Larry Jones
I stand FIRM in my belief of what's right! I REFUSE to
compromise my principles! -- Calvin