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