From: Christian Couder Date: Fri, 27 Oct 2006 05:00:57 +0000 (+0200) Subject: Documentation: add git in /etc/services. X-Git-Tag: v1.4.3.4~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f8a5da6d94baa0a90e7b383932911661bb551e1c;p=git.git Documentation: add git in /etc/services. Signed-off-by: Christian Couder Signed-off-by: Junio C Hamano --- diff --git a/Documentation/everyday.txt b/Documentation/everyday.txt index 278161f58..967767189 100644 --- a/Documentation/everyday.txt +++ b/Documentation/everyday.txt @@ -353,6 +353,13 @@ example of managing a shared central repository. Examples ~~~~~~~~ +We assume the following in /etc/services:: ++ +------------ +$ grep 9418 /etc/services +git 9418/tcp # Git Version Control System +------------ + Run git-daemon to serve /pub/scm from inetd.:: + ------------ diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt index f10a26991..993adc7c5 100644 --- a/Documentation/git-daemon.txt +++ b/Documentation/git-daemon.txt @@ -162,6 +162,13 @@ upload-archive:: EXAMPLES -------- +We assume the following in /etc/services:: ++ +------------ +$ grep 9418 /etc/services +git 9418/tcp # Git Version Control System +------------ + git-daemon as inetd server:: To set up `git-daemon` as an inetd service that handles any repository under the whitelisted set of directories, /pub/foo