@matheusbsbs / matheus-bagliano / commits / c51901de1d
Fork 0

Add example xinetd(8) configuration to Documentation/everyday.txt

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> Signed-off-by: Junio C Hamano <junkio@cox.net>

Horst H. von Brand committed Jun 4, 2006 at 19:53 UTC c51901de1dfd0670e3394157c2909f5036be3ea7
1 file changed +23
Documentation/everyday.txt
+23
@@ -377,6 +377,29 @@ git stream tcp nowait nobody \
377 +
378 The actual configuration line should be on one line.
379
380 +Run git-daemon to serve /pub/scm from xinetd.::
381 ++
382 +------------
383 +$ cat /etc/xinetd.d/git-daemon
384 +# default: off
385 +# description: The git server offers access to git repositories
386 +service git
387 +{
388 + disable = no
389 + type = UNLISTED
390 + port = 9418
391 + socket_type = stream
392 + wait = no
393 + user = nobody
394 + server = /usr/bin/git-daemon
395 + server_args = --inetd --syslog --export-all --base-path=/pub/scm
396 + log_on_failure += USERID
397 +}
398 +------------
399 ++
400 +Check your xinetd(8) documentation and setup, this is from a Fedora system.
401 +Others might be different.
402 +
403 Give push/pull only access to developers.::
404 +
405 ------------