@ -22,7 +22,7 @@
. /etc/rc.d/init.d/functions
prog="kubelet"
exec="/usr/local/bin/$prog"
exec="{{ bin_dir }}/$prog"
pidfile="/var/run/$prog.pid"
lockfile="/var/lock/subsys/$prog"
logfile="/var/log/$prog"
@ -14,7 +14,7 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Calico-node Docker"
NAME=calico-node
DAEMON=/usr/local/bin/calicoctl
DAEMON={{ bin_dir }}/calicoctl
DAEMON_ARGS=""
DOCKER=$(which docker)
SCRIPTNAME=/etc/init.d/$NAME
prog="calicoctl"
dockerexec="$(which docker)"