diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-auth/docker_auth/files/docker_auth.initd |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/docker_auth/files/docker_auth.initd')
-rw-r--r-- | sys-auth/docker_auth/files/docker_auth.initd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-auth/docker_auth/files/docker_auth.initd b/sys-auth/docker_auth/files/docker_auth.initd new file mode 100644 index 000000000000..52699100d8c1 --- /dev/null +++ b/sys-auth/docker_auth/files/docker_auth.initd @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# 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}.pid"} +user=${user:-${SVCNAME}} +group=${group:-${SVCNAME}} + +command="/usr/bin/auth_server" +command_args="${command_args:--log_dir /var/log/${SVCNAME} /etc/docker_auth/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" + +depend() { + after net +} |