summaryrefslogtreecommitdiff
path: root/puppet/modules/git/files/xinetd.d/git.vhosts
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/git/files/xinetd.d/git.vhosts')
-rw-r--r--puppet/modules/git/files/xinetd.d/git.vhosts16
1 files changed, 16 insertions, 0 deletions
diff --git a/puppet/modules/git/files/xinetd.d/git.vhosts b/puppet/modules/git/files/xinetd.d/git.vhosts
new file mode 100644
index 00000000..98938206
--- /dev/null
+++ b/puppet/modules/git/files/xinetd.d/git.vhosts
@@ -0,0 +1,16 @@
+# default: off
+# description: The git dæmon allows git repositories to be exported using
+# the git:// protocol.
+
+service git
+{
+ disable = no
+ socket_type = stream
+ wait = no
+ user = nobody
+ server = /usr/bin/git-daemon
+ server_args = --interpolated-path=/srv/git/%H/%D --syslog --inetd --verbose
+ log_on_failure += USERID
+# xinetd doesn't do this by default. bug #195265
+ flags = IPv6
+}