summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2006-10-27 05:00:57 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-10-27 09:10:52 (GMT)
commitf8a5da6d94baa0a90e7b383932911661bb551e1c (patch)
tree7b079a968d6cd2f102634d060c910d48252a658f
parente2b1d1ccdd2ef4db41819bb0d242b808cfe6c422 (diff)
downloadgit-f8a5da6d94baa0a90e7b383932911661bb551e1c.zip
git-f8a5da6d94baa0a90e7b383932911661bb551e1c.tar.gz
git-f8a5da6d94baa0a90e7b383932911661bb551e1c.tar.bz2
Documentation: add git in /etc/services.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Documentation/everyday.txt7
-rw-r--r--Documentation/git-daemon.txt7
2 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/everyday.txt b/Documentation/everyday.txt
index 278161f..9677671 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 f10a269..993adc7 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