X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Feveryday.txt;h=7a04f460382da0ffe2aa52cda2b60433fb0408e2;hb=c51901de1dfd0670e3394157c2909f5036be3ea7;hp=2ad2d61300f6656affb4512d2825efca9b26b178;hpb=eff97e3faeb28f6521851c1b3be1a54a2138f12a;p=git.git diff --git a/Documentation/everyday.txt b/Documentation/everyday.txt index 2ad2d613..7a04f460 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 = nobody + 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.:: + ------------