respondd: update service file

This commit is contained in:
Markus 2019-12-15 23:00:07 +01:00
parent ebf184d1f3
commit 625d92c0d0

View File

@ -1,11 +1,11 @@
# {{ ansible_managed }} # {{ ansible_managed }}
[Unit] [Unit]
Description=respondd Description=Respondd
After=network-online.target After=network-online.target
[Service] [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 Restart=always
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
WorkingDirectory=/opt/{{ site_code }}/respondd-announce WorkingDirectory=/opt/{{ site_code }}/respondd-announce