diff options
Diffstat (limited to 'sys-cluster/kube-controller-manager/files/kube-controller-manager.initd')
-rw-r--r-- | sys-cluster/kube-controller-manager/files/kube-controller-manager.initd | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sys-cluster/kube-controller-manager/files/kube-controller-manager.initd b/sys-cluster/kube-controller-manager/files/kube-controller-manager.initd index f2e52699c6d5..276197f06562 100644 --- a/sys-cluster/kube-controller-manager/files/kube-controller-manager.initd +++ b/sys-cluster/kube-controller-manager/files/kube-controller-manager.initd @@ -3,22 +3,17 @@ # Distributed under the terms of the GNU General Public License v2 description="Kubernetes Controller Manager service" -pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"} -user=${user:-${SVCNAME}} -group=${group:-${SVCNAME}} +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/${SVCNAME}/${SVCNAME}.log \ - --stderr /var/log/${SVCNAME}/${SVCNAME}.log" + --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \ + --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" depend() { - need net after net } - -start_pre() { - checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}" -} |