From 6f071c524a1f5e67c629bb2221ad710c62e91b5b Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Sun, 11 Jun 2017 20:15:28 +0200 Subject: [PATCH] Fix respondd service --- roles/respondd/templates/respondd.service.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/respondd/templates/respondd.service.j2 b/roles/respondd/templates/respondd.service.j2 index 59651a2..b8ba8ef 100644 --- a/roles/respondd/templates/respondd.service.j2 +++ b/roles/respondd/templates/respondd.service.j2 @@ -5,6 +5,9 @@ Description=Respondd [Service] ExecStart=/opt/{{ site_code }}/respondd-announce/respondd.py -b {{ batman_interface }} -i {{ main_bridge }} -i vpn-{{ site_code }} -d /opt/{{ site_code }}/respondd-announce/ +Restart=always +Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +WorkingDirectory=/opt/{{ site_code }}/respondd-announce [Install] WantedBy=multi-user.target