infrastructure/ansible/plays/templates/heartbeat.service.j2

8 lines
136 B
Django/Jinja

[Unit]
Description=Heartbeat
[Service]
Type=oneshot
ExecStart=/usr/bin/curl -fsS -m 10 --retry 5 {{ monitor_url }}
StandardOutput=null