projtool.pl: do not attempt to check unset error codes
[girocco.git] / xinetd / git
blob16cb9943287d75b2358595239fa730e01b24ef68
1 # The equivalent inet.d configuration line (e.g. FreeBSD) would be:
2 # git stream tcp46 nowait/0/600/2 repo /home/repo/repomgr/bin/git-daemon-verify git-daemon-verify
4 # NOTE: The user this runs as need NOT have write access.
5 #       This sample uses the "repo" user, but the user
6 #       "nobody" should work just as well.
8 # IMPORTANT: Git versions >= 1.8.4.2 and < 2.0.0
9 #            unfortunately require write permission into
10 #            the repository when serving a shallow clone!
11 #            YIKES!  (A shallow clone turd gets left
12 #            benind too.)  Advice is to use a version of
13 #            Git either BEFORE 1.8.4.2 or AT LEAST 2.0.0
14 #            to avoid this problem (and the turds).
16 # NOTE: If you want xinetd to log connection host names etc.
17 #       You probably want something like the following in
18 #       the global /etc/xinetd.conf file:
20 # defaults
21 # {
22 #   log_type = SYSLOG daemon info
23 #   log_on_success = HOST PID EXIT
24 #   log_on_failure = HOST
25 # }
27 # Note that the max_load value may need to be adjusted for
28 # your system.  A reasonable starting point is 1.75 times
29 # the number of online processor cores (non-integer values
30 # are allowed).
32 service git
34   type        = UNLISTED
35   flags       = IPv6 KEEPALIVE
36   socket_type = stream
37   protocol    = tcp
38   port        = 9418
39   wait        = no
40   user        = repo
41   server      = /home/repo/repomgr/bin/git-daemon-verify
42   per_source  = 2
43   cps         = 10 5
44   max_load    = 12