summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authori.Dark_Templar <darktemplar@dark-templar-archives.net>2017-11-12 12:43:30 +0300
committerRobin H. Johnson <robbat2@gentoo.org>2017-11-17 09:20:36 -0800
commite00b96011c71971123920187ca04dedff5cc1915 (patch)
tree5e874a474c5929472e8a62a3c205bb4a7cb28e58 /dev-vcs/git
parentsys-apps/openrc: stable 0.34.8 on alpha for bug #637508 (diff)
downloadgentoo-e00b96011c71971123920187ca04dedff5cc1915.tar.gz
gentoo-e00b96011c71971123920187ca04dedff5cc1915.tar.bz2
gentoo-e00b96011c71971123920187ca04dedff5cc1915.zip
dev-vcs/git: update openrc init.d script
(cherry picked from commit 0b833f1e0a45466af5b1df0e302b9a64bfb3f757) Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'dev-vcs/git')
-rw-r--r--dev-vcs/git/files/git-daemon-r1.initd3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-vcs/git/files/git-daemon-r1.initd b/dev-vcs/git/files/git-daemon-r1.initd
index da315cb3b093..78e5444ed4db 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