summaryrefslogtreecommitdiff
path: root/git.xinetd.in
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-02 07:06:13 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-02 07:06:13 +0000
commitb38a036b976c86a90ceba78cd2e488d3f44efc9b (patch)
tree1415b8bb99a5761240c41c8b1615a381cc84c16c /git.xinetd.in
parent9da6476c203380a7c6c385a8c3c4a3564ba43685 (diff)
automatic import of gitopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'git.xinetd.in')
-rw-r--r--git.xinetd.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/git.xinetd.in b/git.xinetd.in
new file mode 100644
index 0000000..d4ca95d
--- /dev/null
+++ b/git.xinetd.in
@@ -0,0 +1,14 @@
+# 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 = @GITEXECDIR@/git-daemon
+ server_args = --base-path=@BASE_PATH@ --export-all --user-path=public_git --syslog --inetd --verbose
+ log_on_failure += USERID
+}