summaryrefslogtreecommitdiff
path: root/git@.service.in
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 02:05:39 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 02:05:39 +0000
commitd23cd896d4fde33b5e323ec84af1c1472c59c461 (patch)
tree1415b8bb99a5761240c41c8b1615a381cc84c16c /git@.service.in
parent96b302672a8bc92199343579778067efaefe48c7 (diff)
automatic import of gitopeneuler24.03_LTS
Diffstat (limited to 'git@.service.in')
-rw-r--r--git@.service.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/git@.service.in b/git@.service.in
new file mode 100644
index 0000000..7abcfeb
--- /dev/null
+++ b/git@.service.in
@@ -0,0 +1,10 @@
+[Unit]
+Description=Git Repositories Server Daemon
+Documentation=man:git-daemon(1)
+
+[Service]
+User=nobody
+ExecStart=-@GITEXECDIR@/git-daemon --base-path=@BASE_PATH@ --export-all \
+ --user-path=public_git --inetd --log-destination=stderr --verbose
+StandardInput=socket
+StandardError=journal