From 4d5aaca8d2c81892d3cdcff08ba57bace8b03196 Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Mon, 8 Aug 2016 12:06:32 +0200 Subject: [PATCH] Fix calico-node service unit Signed-off-by: Bogdan Dobrelya --- roles/network_plugin/calico/templates/calico-node.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network_plugin/calico/templates/calico-node.service.j2 b/roles/network_plugin/calico/templates/calico-node.service.j2 index 4c709705d..cd4f28679 100644 --- a/roles/network_plugin/calico/templates/calico-node.service.j2 +++ b/roles/network_plugin/calico/templates/calico-node.service.j2 @@ -13,7 +13,7 @@ ExecStart={{ bin_dir }}/calicoctl node --ip={{ip | default(ansible_default_ipv4. ExecStart={{ bin_dir }}/calicoctl node --ip={{ip | default(ansible_default_ipv4.address) }} --detach=false {% endif %} Restart=always -Restart=10 +RestartSec=10s [Install] WantedBy=multi-user.target