Skip to content

Commit 893c365

Browse files
flichtenheldJunio C Hamano
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c78974f commit 893c365

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Documentation/git-cvsserver.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ INSTALLATION
4646
cvspserver stream tcp nowait nobody git-cvsserver pserver
4747

4848
------
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
5153

5254
------
53-
cvspserver stream tcp nowait nobody git-cvsserver pserver pserver
55+
cvspserver stream tcp nowait nobody /usr/bin/git-cvsserver git-cvsserver pserver
5456

5557
------
5658
No special setup is needed for SSH access, other than having GIT tools

0 commit comments

Comments
 (0)