ansible-ffrgb/roles/respondd/templates/respondd.service.j2

15 lines
480 B
Plaintext
Raw Normal View History

2017-03-27 20:24:38 +02:00
# {{ ansible_managed }}
[Unit]
2019-12-15 23:00:07 +01:00
Description=Respondd
2018-01-18 14:48:41 +01:00
After=network-online.target
2017-03-27 20:24:38 +02:00
[Service]
2019-12-15 23:00:07 +01:00
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') }}
2017-06-11 20:15:28 +02:00
Restart=always
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
WorkingDirectory=/opt/{{ site_code }}/respondd-announce
2017-03-27 20:24:38 +02:00
[Install]
WantedBy=multi-user.target