From d23cd896d4fde33b5e323ec84af1c1472c59c461 Mon Sep 17 00:00:00 2001
From: CoprDistGit <infra@openeuler.org>
Date: Mon, 5 Aug 2024 02:05:39 +0000
Subject: automatic import of git

---
 git.xinetd.in | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 git.xinetd.in

(limited to 'git.xinetd.in')

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
+}
-- 
cgit v1.2.3