alpine-overlay/v3.15/kubernetes/kube-proxy.initd

21 lines
509 B
Plaintext
Raw Normal View History

2021-11-12 17:28:59 +00:00
#!/sbin/openrc-run
# Copyright 2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
supervisor=supervise-daemon
description="Kubernetes Proxy service"
if [ -e /var/lib/kubernetes/kube-proxy-flags.env ]; then
. /var/lib/kubernetes/kube-proxy-flags.env;
fi
command="/usr/bin/kube-proxy"
command_args="${command_args} ${KUBE_PROXY_ARGS}"
: ${output_log:=/var/log/$RC_SVCNAME/$RC_SVCNAME.log}
: ${error_log:=/var/log/$RC_SVCNAME/$RC_SVCNAME.log}
depend() {
after net
}