Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/docker-registry/files/
Date: Mon, 25 Apr 2016 08:51:58
Message-Id: 1461574298.020d49bd6767b308584733b6dcd88e4cc9ee7149.zmedico@gentoo
1 commit: 020d49bd6767b308584733b6dcd88e4cc9ee7149
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 25 08:49:52 2016 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 25 08:51:38 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=020d49bd
7
8 app-emulation/docker-registry: fix init script to allow user/group override
9
10 Package-Manager: portage-2.2.28
11
12 app-emulation/docker-registry/files/registry.initd | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/app-emulation/docker-registry/files/registry.initd b/app-emulation/docker-registry/files/registry.initd
16 index 4df83f3..eaf2789 100644
17 --- a/app-emulation/docker-registry/files/registry.initd
18 +++ b/app-emulation/docker-registry/files/registry.initd
19 @@ -5,8 +5,8 @@
20
21 description="Docker Registry 2.0"
22 pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
23 -user=${SVCNAME}
24 -group=${SVCNAME}
25 +user=${user:-${SVCNAME}}
26 +group=${group:-${SVCNAME}}
27
28 command="/usr/libexec/docker-${SVCNAME}/${SVCNAME}"
29 command_args="${command_args:-serve /etc/docker/registry/config.yml}"