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>
This commit is contained in:

committed by
Junio C Hamano

parent
c78974f7b6
commit
893c365aba
@ -46,11 +46,13 @@ INSTALLATION
|
|||||||
cvspserver stream tcp nowait nobody git-cvsserver pserver
|
cvspserver stream tcp nowait nobody git-cvsserver pserver
|
||||||
|
|
||||||
------
|
------
|
||||||
Note: In some cases, you need to pass the 'pserver' argument twice for
|
Note: Some inetd servers let you specify the name of the executable
|
||||||
git-cvsserver to see it. So the line would look like
|
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
|
No special setup is needed for SSH access, other than having GIT tools
|
||||||
|
Reference in New Issue
Block a user