Revert "dev-vcs/git: for systemd, don't source /etc/conf.d/git-daemon"
authorMike Gilbert <floppym@gentoo.org>
Sun, 8 May 2016 22:47:28 +0000 (18:47 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 8 May 2016 22:47:28 +0000 (18:47 -0400)
This reverts commit 843954e66426a8e87c42a2c3d3d99ca6fa7d4744.

dev-vcs/git/files/git-daemon_at.service

index 0a1bd14b16a34d0a0912fcdc70ef4149a2b7dff1..2a080d4e7d8ffa89805b921e64f7819a5ab1b875 100644 (file)
@@ -5,8 +5,9 @@ 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
+ExecStart=-/usr/libexec/git-core/git-daemon --inetd --base-path=/var/git --verbose $GITDAEMON_OPTS
 StandardInput=socket
 StandardOutput=inherit
 StandardError=journal