aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git')
-rw-r--r--modules/git/templates/xinetd13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/git/templates/xinetd b/modules/git/templates/xinetd
new file mode 100644
index 00000000..add7770d
--- /dev/null
+++ b/modules/git/templates/xinetd
@@ -0,0 +1,13 @@
+service git
+{
+ disable = no
+ type = UNLISTED
+ port = 9418
+ socket_type = stream
+ server = /usr/lib/git-core/git-daemon
+ wait = no
+ user = nobody
+ server_args = --inetd --verbose --export-all --base-path=<%= git_base_path %>
+ log_on_failure += HOST
+}
+