Role service-respondd: start after fastd

fixes #18
This commit is contained in:
Julian Labus 2018-12-26 14:20:11 +01:00
parent 8ef5701add
commit 7dac321cd1
No known key found for this signature in database
GPG key ID: 8AF209F2C6B3572A

View file

@ -1,5 +1,7 @@
[Unit] [Unit]
Description=respondd instance {{ item.id }} Description=respondd instance {{ item.id }}
After={% for interface in item.fastd.nodes.instances %}fastd@{{ item.id }}vpn-{{ interface.mtu }}.service{% if not loop.last %} {% endif %}{% endfor %}
[Service] [Service]
ExecStart=/home/admin/clones/mesh-announce/respondd.py -i {{ item.id }}br {% for interface in item.fastd.nodes.instances %}-i {{ item.id }}vpn-{{ interface.mtu }}{% if not loop.last %} {% endif %}{% endfor %} -b {{ item.id }}bat -s {{ item.site_code }} -d {{ item.site_code }} --data-provider-directory /home/admin/clones/mesh-announce/ ExecStart=/home/admin/clones/mesh-announce/respondd.py -i {{ item.id }}br {% for interface in item.fastd.nodes.instances %}-i {{ item.id }}vpn-{{ interface.mtu }}{% if not loop.last %} {% endif %}{% endfor %} -b {{ item.id }}bat -s {{ item.site_code }} -d {{ item.site_code }} --data-provider-directory /home/admin/clones/mesh-announce/