git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add example xinetd(8) configuration to Documentation/everyday.txt
@ 2006-06-04 23:53 Horst H. von Brand
  2006-06-05  0:01 ` Dmitry V. Levin
  0 siblings, 1 reply; 5+ messages in thread
From: Horst H. von Brand @ 2006-06-04 23:53 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Many Linux distributions use xinetd(8), not inetd(8).
Give a sample configuration file.

Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>
---
 Documentation/everyday.txt |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/Documentation/everyday.txt b/Documentation/everyday.txt
index 2ad2d61..ffba543 100644
--- a/Documentation/everyday.txt
+++ b/Documentation/everyday.txt
@@ -377,6 +377,29 @@ git	stream	tcp	nowait	nobody \
 +
 The actual configuration line should be on one line.
 
+Run git-daemon to serve /pub/scm from xinetd.::
++
+------------
+$ cat /etc/xinetd.d/git-daemon
+# default: off
+# description: The git server offers access to git repositories
+service git
+{
+        disable = no
+        type            = UNLISTED
+        port            = 9418
+        socket_type     = stream
+        wait            = no
+        user            = root
+        server          = /usr/bin/git-daemon
+        server_args     = --inetd --syslog --export-all --base-path=/pub/scm
+        log_on_failure  += USERID
+}
+------------
++
+Check your xinetd(8) documentation and setup, this is from a Fedora system.
+Others might be different.
+
 Give push/pull only access to developers.::
 +
 ------------
-- 
1.3.3.g16a4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-05 13:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-04 23:53 [PATCH] Add example xinetd(8) configuration to Documentation/everyday.txt Horst H. von Brand
2006-06-05  0:01 ` Dmitry V. Levin
2006-06-05  0:54   ` [PATCH, take 2] " Horst von Brand
2006-06-05  1:24     ` Junio C Hamano
2006-06-05 13:12     ` Dmitry V. Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).