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

15 lines
430 B
Django/Jinja

# {{ ansible_managed }}
[Unit]
Description=Respondd
After=network-online.target
[Service]
ExecStart=/opt/{{ site_code }}/respondd-announce/respondd.py -d /opt/{{ site_code }}/respondd-announce/providers -f /opt/{{ site_code }}/respondd.conf
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