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

14 lines
425 B
Django/Jinja

# {{ ansible_managed }}
[Unit]
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