commit:     e00b96011c71971123920187ca04dedff5cc1915
Author:     i.Dark_Templar <darktemplar <AT> dark-templar-archives <DOT> net>
AuthorDate: Sun Nov 12 09:43:30 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri Nov 17 17:20:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00b9601

dev-vcs/git: update openrc init.d script

(cherry picked from commit 0b833f1e0a45466af5b1df0e302b9a64bfb3f757)
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 dev-vcs/git/files/git-daemon-r1.initd | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-vcs/git/files/git-daemon-r1.initd 
b/dev-vcs/git/files/git-daemon-r1.initd
index da315cb3b09..78e5444ed4d 100644
--- a/dev-vcs/git/files/git-daemon-r1.initd
+++ b/dev-vcs/git/files/git-daemon-r1.initd
@@ -5,7 +5,8 @@
 pidfile="/var/run/git-daemon.pid"
 command="/usr/bin/git"
 command_args="daemon ${GITDAEMON_OPTS}"
-start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME= -b -m -p ${pidfile} -u 
${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"
+command_user="${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"
+start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME= -b -m"
 
 depend() {
        use logger

Reply via email to