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
|
2022-12-20 19:44:32 +01:00
|
|
|
|
2022-12-14 17:17:59 +01:00
|
|
|
check process lstu-minion matching "perl script/application minion worker"
|
2022-12-20 19:44:32 +01:00
|
|
|
start program = "/bin/systemctl start {{ minion_service }}@*.service"
|
|
|
|
stop program = "/bin/systemctl stop {{ minion_service }}@*.service"
|