Skip to content

Commit

Permalink
app-emulation/docker-registry: fix init script to allow user/group ov…
Browse files Browse the repository at this point in the history
…erride

Package-Manager: portage-2.2.28
  • Loading branch information
zmedico committed Apr 25, 2016
1 parent 2af44f1 commit 020d49b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app-emulation/docker-registry/files/registry.initd
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 020d49b

Please sign in to comment.