ansible-role-lstu/templates/monit.j2

5 lines
315 B
Text
Raw Normal View History

2022-12-10 15:02:35 +01:00
check process lstu with pidfile {{ lstu.path }}/script/hypnotoad.pid
2022-12-13 13:02:00 +01:00
start program = "/bin/systemctl start {{ lstu_service }}"
stop program = "/bin/systemctl stop {{ lstu_service }}"
2022-12-10 15:02:35 +01:00
if failed host {{ ansible_default_ipv4.address }} port 8080 with timeout 15 seconds for 3 times within 4 cycles then restart