summaryrefslogtreecommitdiff
path: root/dev-vcs/git/files/git-daemon_at.service
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/git/files/git-daemon_at.service')
-rw-r--r--dev-vcs/git/files/git-daemon_at.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-vcs/git/files/git-daemon_at.service b/dev-vcs/git/files/git-daemon_at.service
new file mode 100644
index 00000000..2a080d4e
--- /dev/null
+++ b/dev-vcs/git/files/git-daemon_at.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Git Repositories Server Daemon
+Documentation=man:git-daemon(1)
+
+[Service]
+User=nobody
+Group=nobody
+EnvironmentFile=/etc/conf.d/git-daemon
+# Ignore non-zero exit status, access error makes git-daemon return them
+ExecStart=-/usr/libexec/git-core/git-daemon --inetd --base-path=/var/git --verbose $GITDAEMON_OPTS
+StandardInput=socket
+StandardOutput=inherit
+StandardError=journal