1 |
commit: e00b96011c71971123920187ca04dedff5cc1915 |
2 |
Author: i.Dark_Templar <darktemplar <AT> dark-templar-archives <DOT> net> |
3 |
AuthorDate: Sun Nov 12 09:43:30 2017 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 17 17:20:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00b9601 |
7 |
|
8 |
dev-vcs/git: update openrc init.d script |
9 |
|
10 |
(cherry picked from commit 0b833f1e0a45466af5b1df0e302b9a64bfb3f757) |
11 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
12 |
|
13 |
dev-vcs/git/files/git-daemon-r1.initd | 3 ++- |
14 |
1 file changed, 2 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-vcs/git/files/git-daemon-r1.initd b/dev-vcs/git/files/git-daemon-r1.initd |
17 |
index da315cb3b09..78e5444ed4d 100644 |
18 |
--- a/dev-vcs/git/files/git-daemon-r1.initd |
19 |
+++ b/dev-vcs/git/files/git-daemon-r1.initd |
20 |
@@ -5,7 +5,8 @@ |
21 |
pidfile="/var/run/git-daemon.pid" |
22 |
command="/usr/bin/git" |
23 |
command_args="daemon ${GITDAEMON_OPTS}" |
24 |
-start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME= -b -m -p ${pidfile} -u ${GIT_USER:-nobody}:${GIT_GROUP:-nobody}" |
25 |
+command_user="${GIT_USER:-nobody}:${GIT_GROUP:-nobody}" |
26 |
+start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME= -b -m" |
27 |
|
28 |
depend() { |
29 |
use logger |