diff options
Diffstat (limited to 'sys-auth/docker_auth/files/docker_auth.initd')
| -rw-r--r-- | sys-auth/docker_auth/files/docker_auth.initd | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys-auth/docker_auth/files/docker_auth.initd b/sys-auth/docker_auth/files/docker_auth.initd index a8c368f18109..52699100d8c1 100644 --- a/sys-auth/docker_auth/files/docker_auth.initd +++ b/sys-auth/docker_auth/files/docker_auth.initd @@ -1,9 +1,9 @@ #!/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 Authentication Server" -pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} +pidfile=${pidfile:-"/run/${SVCNAME}.pid"} user=${user:-${SVCNAME}} group=${group:-${SVCNAME}} @@ -15,10 +15,5 @@ start_stop_daemon_args="--user ${user} --group ${group} \ --stderr /var/log/${SVCNAME}/${SVCNAME}.log" depend() { - need net after net } - -start_pre() { - checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}" -} |
