diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-04-25 01:49:52 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-04-25 01:51:38 -0700 |
commit | 020d49bd6767b308584733b6dcd88e4cc9ee7149 (patch) | |
tree | 2612c5bf1aa750737caebdbe0ecc72749967a678 /app-emulation | |
parent | x11-misc/xystray: Regenerate Manifest file. Add DEPEND to RDEPEND. (diff) | |
download | gentoo-020d49bd6767b308584733b6dcd88e4cc9ee7149.tar.gz gentoo-020d49bd6767b308584733b6dcd88e4cc9ee7149.tar.bz2 gentoo-020d49bd6767b308584733b6dcd88e4cc9ee7149.zip |
app-emulation/docker-registry: fix init script to allow user/group override
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/docker-registry/files/registry.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/docker-registry/files/registry.initd b/app-emulation/docker-registry/files/registry.initd index 4df83f31fcbb..eaf278944584 100644 --- a/app-emulation/docker-registry/files/registry.initd +++ b/app-emulation/docker-registry/files/registry.initd @@ -5,8 +5,8 @@ description="Docker Registry 2.0" pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} -user=${SVCNAME} -group=${SVCNAME} +user=${user:-${SVCNAME}} +group=${group:-${SVCNAME}} command="/usr/libexec/docker-${SVCNAME}/${SVCNAME}" command_args="${command_args:-serve /etc/docker/registry/config.yml}" |