summaryrefslogtreecommitdiff
path: root/packaging/git.xinetd
diff options
context:
space:
mode:
authorGraydon, Tracy <tracy.graydon@intel.com>2013-01-31 17:08:15 -0800
committerGraydon, Tracy <tracy.graydon@intel.com>2013-01-31 17:08:15 -0800
commit699fc9f67a9a62df492d1cd049e4978953640de9 (patch)
treef0c16f1494bd71922e7bf5258037427cac4a350b /packaging/git.xinetd
downloadgit-699fc9f67a9a62df492d1cd049e4978953640de9.tar.gz
git-699fc9f67a9a62df492d1cd049e4978953640de9.tar.bz2
git-699fc9f67a9a62df492d1cd049e4978953640de9.zip
Diffstat (limited to 'packaging/git.xinetd')
-rw-r--r--packaging/git.xinetd16
1 files changed, 16 insertions, 0 deletions
diff --git a/packaging/git.xinetd b/packaging/git.xinetd
new file mode 100644
index 0000000..dcfae91
--- /dev/null
+++ b/packaging/git.xinetd
@@ -0,0 +1,16 @@
+# default: off
+# description: The git dæmon allows git repositories to be exported using
+# the git:// protocol.
+
+service git
+{
+ disable = yes
+ socket_type = stream
+ wait = no
+ user = nobody
+ server = /usr/bin/git-daemon
+ server_args = --base-path=/srv/git --export-all --user-path=public_git --syslog --inetd --verbose
+ log_on_failure += USERID
+# xinetd doesn't do this by default. bug #195265
+ flags = IPv6
+}