ansible-role-lstu/templates/monit.j2

5 lines
323 B
Plaintext
Raw Normal View History

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