summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-10-14 16:55:09 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-10-14 16:55:09 +0200
commit78348b7102b17885a7ec1b8a9847338ab6578768 (patch)
treeecb6dc3d94a5c3d14d9c73ddac41c0cd2e819a0c /sys-cluster
parentsys-cluster/kube-proxy: Fix pidfile path (diff)
downloadgentoo-78348b7102b17885a7ec1b8a9847338ab6578768.tar.gz
gentoo-78348b7102b17885a7ec1b8a9847338ab6578768.tar.bz2
gentoo-78348b7102b17885a7ec1b8a9847338ab6578768.zip
sys-cluster/kubelet: Fix initscript
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kubelet/files/kubelet.initd7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-cluster/kubelet/files/kubelet.initd b/sys-cluster/kubelet/files/kubelet.initd
index 2f6b4eaf5df5..363f635b5863 100644
--- a/sys-cluster/kubelet/files/kubelet.initd
+++ b/sys-cluster/kubelet/files/kubelet.initd
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
description="Kubelet, a Kubernetes node agent"
-pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
user=${user:-root}
group=${group:-root}
@@ -11,10 +11,9 @@ command="/usr/bin/kubelet"
command_args="${command_args}"
command_background="true"
start_stop_daemon_args="--user ${user} --group ${group} \
- --stdout /var/log/kubelet/${SVCNAME}.log \
- --stderr /var/log/kubelet/${SVCNAME}.log"
+ --stdout /var/log/kubelet/${RC_SVCNAME}.log \
+ --stderr /var/log/kubelet/${RC_SVCNAME}.log"
depend() {
- need net
after net
}