From fd3cda9b3d8a977358542d1f20932c7122dc1de3 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Tue, 16 Jul 2019 21:02:27 +0000 Subject: testing/kubernetes: upgrade to 1.15.0 --- testing/kubernetes/kube-controller-manager.initd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 testing/kubernetes/kube-controller-manager.initd (limited to 'testing/kubernetes/kube-controller-manager.initd') diff --git a/testing/kubernetes/kube-controller-manager.initd b/testing/kubernetes/kube-controller-manager.initd new file mode 100644 index 0000000000..276197f065 --- /dev/null +++ b/testing/kubernetes/kube-controller-manager.initd @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="Kubernetes Controller Manager service" +pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"} +user=${user:-${RC_SVCNAME}} +group=${group:-${RC_SVCNAME}} + +command="/usr/bin/kube-controller-manager" +command_args="${command_args}" +command_background="true" +start_stop_daemon_args="--user ${user} --group ${group} \ + --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \ + --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" + +depend() { + after net +} -- cgit v1.2.3