aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kubernetes/kube-controller-manager.initd
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-07-16 21:02:27 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-07-16 21:02:57 +0000
commitfd3cda9b3d8a977358542d1f20932c7122dc1de3 (patch)
tree6ce22e1aafe2dbe805b12dffc88fbd61130b794e /testing/kubernetes/kube-controller-manager.initd
parentefd78c8161460911e14880d8fcfb4b4cae3c8667 (diff)
downloadaports-fd3cda9b3d8a977358542d1f20932c7122dc1de3.tar.bz2
aports-fd3cda9b3d8a977358542d1f20932c7122dc1de3.tar.xz
testing/kubernetes: upgrade to 1.15.0
Diffstat (limited to 'testing/kubernetes/kube-controller-manager.initd')
-rw-r--r--testing/kubernetes/kube-controller-manager.initd19
1 files changed, 19 insertions, 0 deletions
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
+}