diff --git a/roles/respondd/templates/respondd.service.j2 b/roles/respondd/templates/respondd.service.j2 index 87151a3..eb5a7c9 100644 --- a/roles/respondd/templates/respondd.service.j2 +++ b/roles/respondd/templates/respondd.service.j2 @@ -1,11 +1,11 @@ # {{ ansible_managed }} [Unit] -Description=respondd +Description=Respondd After=network-online.target [Service] -ExecStart=/opt/{{ site_code }}/respondd-announce/respondd.py -b {{ batman_interface }} -i {{ main_bridge }} -d /opt/{{ site_code }}/respondd-announce/ +ExecStart=/opt/{{ site_code }}/respondd-announce/respondd.py -d /opt/{{ site_code }}/respondd-announce/providers -i {{ main_bridge }} -b {{ batman_interface }} -m {{ batman_ipv4 | ipaddr('address') }} Restart=always Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin WorkingDirectory=/opt/{{ site_code }}/respondd-announce