@matheusbsbs / matheus-bagliano / commits / 893c365aba
Fork 0

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>

Frank Lichtenheld committed May 27, 2007 at 14:33 UTC 893c365abab7806354ab5b268e38e88ea81b8e38
1 file changed +5 -3
Documentation/git-cvsserver.txt
+5 -3
@@ -46,11 +46,13 @@ INSTALLATION
46 cvspserver stream tcp nowait nobody git-cvsserver pserver
47
48 ------
49 -Note: In some cases, you need to pass the 'pserver' argument twice for
50 -git-cvsserver to see it. So the line would look like
49 +Note: Some inetd servers let you specify the name of the executable
50 +independently of the value of argv[0] (i.e. the name the program assumes
51 +it was executed with). In this case the correct line in /etc/inetd.conf
52 +looks like
53
54 ------
53 - cvspserver stream tcp nowait nobody git-cvsserver pserver pserver
55 + cvspserver stream tcp nowait nobody /usr/bin/git-cvsserver git-cvsserver pserver
56
57 ------
58 No special setup is needed for SSH access, other than having GIT tools