summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-05-08 18:56:31 -0400
committerMike Gilbert <floppym@gentoo.org>2016-05-08 18:56:31 -0400
commitdf94d5913967eb5527fc5b1b8af8434659c794af (patch)
tree3b3c7025634828b113567e24f5c73e5f02997983 /dev-vcs/git/files
parentRevert "dev-vcs/git: for systemd, don't source /etc/conf.d/git-daemon" (diff)
downloadgentoo-df94d5913967eb5527fc5b1b8af8434659c794af.tar.gz
gentoo-df94d5913967eb5527fc5b1b8af8434659c794af.tar.bz2
gentoo-df94d5913967eb5527fc5b1b8af8434659c794af.zip
dev-vcs/git: reapply systemd unit changes in ~arch only
Package-Manager: portage-2.2.28_p97
Diffstat (limited to 'dev-vcs/git/files')
-rw-r--r--dev-vcs/git/files/git-daemon_at-r1.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-vcs/git/files/git-daemon_at-r1.service b/dev-vcs/git/files/git-daemon_at-r1.service
new file mode 100644
index 000000000000..0a1bd14b16a3
--- /dev/null
+++ b/dev-vcs/git/files/git-daemon_at-r1.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Git Repositories Server Daemon
+Documentation=man:git-daemon(1)
+
+[Service]
+User=nobody
+Group=nobody
+# 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
+StandardInput=socket
+StandardOutput=inherit
+StandardError=journal