From d2c57142d3aaea86d559773d7660859a29935284 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