Documentation: add git in /etc/services.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Christian Couder committed
Oct 27, 2006 at 07:00 UTC
f8a5da6d94baa0a90e7b383932911661bb551e1c
2 files changed
+14
Documentation/everyday.txt
+7
@@ -353,6 +353,13 @@ example of managing a shared central repository.
353
354
Examples
355
~~~~~~~~
356
+We assume the following in /etc/services::
357
++
358
+------------
359
+$ grep 9418 /etc/services
360
+git 9418/tcp # Git Version Control System
361
+------------
362
+
363
Run git-daemon to serve /pub/scm from inetd.::
364
+
365
------------
Documentation/git-daemon.txt
+7
@@ -162,6 +162,13 @@ upload-archive::
162
163
EXAMPLES
164
--------
165
+We assume the following in /etc/services::
166
++
167
+------------
168
+$ grep 9418 /etc/services
169
+git 9418/tcp # Git Version Control System
170
+------------
171
+
172
git-daemon as inetd server::
173
To set up `git-daemon` as an inetd service that handles any
174
repository under the whitelisted set of directories, /pub/foo