aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-cvsserver.txt
diff options
context:
space:
mode:
authorFrank Lichtenheld <frank@lichtenheld.de>2007-05-27 14:33:06 +0200
committerJunio C Hamano <junkio@cox.net>2007-05-29 00:11:22 -0700
commit893c365abab7806354ab5b268e38e88ea81b8e38 (patch)
tree3cc178bcfaa97dd814e4d58e14b1669f30aa4e7e /Documentation/git-cvsserver.txt
parentc78974f7b6a6a0e9f848907620b4361ee088f7c2 (diff)
downloadgit-893c365abab7806354ab5b268e38e88ea81b8e38.tar.gz
cvsserver: Correct inetd.conf example in asciidoc documentation
While the given example worked, it made us look rather incompetent. Give the correct reason why one needs the more complex syntax and change the example to reflect that. Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-cvsserver.txt')
-rw-r--r--Documentation/git-cvsserver.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/git-cvsserver.txt b/Documentation/git-cvsserver.txt
index d22844ba49..9f0d990804 100644
--- a/Documentation/git-cvsserver.txt
+++ b/Documentation/git-cvsserver.txt
@@ -46,11 +46,13 @@ INSTALLATION
cvspserver stream tcp nowait nobody git-cvsserver pserver
------
-Note: In some cases, you need to pass the 'pserver' argument twice for
-git-cvsserver to see it. So the line would look like
+Note: Some inetd servers let you specify the name of the executable
+independently of the value of argv[0] (i.e. the name the program assumes
+it was executed with). In this case the correct line in /etc/inetd.conf
+looks like
------
- cvspserver stream tcp nowait nobody git-cvsserver pserver pserver
+ cvspserver stream tcp nowait nobody /usr/bin/git-cvsserver git-cvsserver pserver
------
No special setup is needed for SSH access, other than having GIT tools