Skip to content

Commit

Permalink
Documentation: add git in /etc/services.
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Christian Couder authored and Junio C Hamano committed Oct 27, 2006
1 parent e2b1d1c commit f8a5da6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Documentation/everyday.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.::
+
------------
Expand Down
7 changes: 7 additions & 0 deletions Documentation/git-daemon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8a5da6

Please sign in to comment.