Remove binding from kubelet health check
[ta/caas-kubernetes.git] / ansible / roles / kubelet / templates / kubelet_healthcheck.service
index 70a55a3..a2536ae 100644 (file)
@@ -15,8 +15,6 @@ limitations under the License.
 #}
 [Unit]
 Description=Kubelethealthcheck
-After=kubelet.service
-BindsTo=kubelet.service
 
 [Service]
 Slice=podruntime.slice
@@ -28,7 +26,7 @@ Type=simple
 User=root
 RestartSec=10s
 
-ExecStart=/usr/libexec/nokia/kubelet_healthcheck.sh
+ExecStart={{ caas.libexec_dir }}/kubelet_healthcheck.sh
 
 Restart=always
 LimitNOFILE=65536