diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-09-20 13:44:41 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-09-20 13:44:41 +0200 |
commit | 03c2151039d33b7d0f9814cc5fd83c4368b25e4b (patch) | |
tree | 213149eec1271e01b3692b39e77d8fbf87f54e8d /sys-cluster/kube-scheduler/files | |
parent | sys-cluster/kube-apiserver: Version bump to 1.7.6 (diff) | |
download | gentoo-03c2151039d33b7d0f9814cc5fd83c4368b25e4b.tar.gz gentoo-03c2151039d33b7d0f9814cc5fd83c4368b25e4b.tar.bz2 gentoo-03c2151039d33b7d0f9814cc5fd83c4368b25e4b.zip |
sys-cluster/kube-scheduler: Version bump to 1.7.6
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sys-cluster/kube-scheduler/files')
-rw-r--r-- | sys-cluster/kube-scheduler/files/kube-scheduler.initd | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/sys-cluster/kube-scheduler/files/kube-scheduler.initd b/sys-cluster/kube-scheduler/files/kube-scheduler.initd index 32331a881fdb..2c49bce3ec80 100644 --- a/sys-cluster/kube-scheduler/files/kube-scheduler.initd +++ b/sys-cluster/kube-scheduler/files/kube-scheduler.initd @@ -3,22 +3,17 @@ # Distributed under the terms of the GNU General Public License v2 description="Kubernetes Scheduler 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-scheduler" 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%/*}" -} |