diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-09-01 15:09:01 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-09-01 15:13:24 -0700 |
commit | 0eea13ca58aba2306a979fdc0bd307bccedbfe60 (patch) | |
tree | fd4cdf614990ecdf9652b9179080b9f831cf4d24 /app-emulation/docker-registry | |
parent | sys-cluster/nova: removing unneeded init script (diff) | |
download | gentoo-0eea13ca58aba2306a979fdc0bd307bccedbfe60.tar.gz gentoo-0eea13ca58aba2306a979fdc0bd307bccedbfe60.tar.bz2 gentoo-0eea13ca58aba2306a979fdc0bd307bccedbfe60.zip |
app-emulation/docker-registry: revbump to 2.6.2-r1 for bug 629202
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'app-emulation/docker-registry')
-rw-r--r-- | app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild (renamed from app-emulation/docker-registry/docker-registry-2.6.2.ebuild) | 0 | ||||
-rw-r--r-- | app-emulation/docker-registry/files/registry.initd | 19 |
2 files changed, 7 insertions, 12 deletions
diff --git a/app-emulation/docker-registry/docker-registry-2.6.2.ebuild b/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild index 6ea2a86bd59b..6ea2a86bd59b 100644 --- a/app-emulation/docker-registry/docker-registry-2.6.2.ebuild +++ b/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild diff --git a/app-emulation/docker-registry/files/registry.initd b/app-emulation/docker-registry/files/registry.initd index 43637a9dbe89..b81303c624d1 100644 --- a/app-emulation/docker-registry/files/registry.initd +++ b/app-emulation/docker-registry/files/registry.initd @@ -1,24 +1,19 @@ #!/sbin/openrc-run -# Copyright 2016 Gentoo Foundation +# Copyright 2016-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 description="Docker Registry 2.0" -pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} -user=${user:-${SVCNAME}} -group=${group:-${SVCNAME}} +pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"} +user=${user:-${RC_SVCNAME}} +group=${group:-${RC_SVCNAME}} -command="/usr/libexec/docker-${SVCNAME}/${SVCNAME}" +command="/usr/libexec/docker-${RC_SVCNAME}/${RC_SVCNAME}" command_args="${command_args:-serve /etc/docker/registry/config.yml}" command_background="true" start_stop_daemon_args="--user ${user} --group ${group} \ - --stdout /var/log/${SVCNAME}/${SVCNAME}.log \ - --stderr /var/log/${SVCNAME}/${SVCNAME}.log" + --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \ + --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" depend() { need net - after net -} - -start_pre() { - checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}" } |