Starte alle Minion-Instanzen neu
This commit is contained in:
parent
2c02f0d5cb
commit
33110fa482
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ check process lstu with pidfile {{ lstu.path }}/script/hypnotoad.pid
|
|||
start program = "/bin/systemctl start {{ lstu_service }}"
|
||||
stop program = "/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
|
||||
|
||||
|
||||
check process lstu-minion matching "perl script/application minion worker"
|
||||
start program = "/bin/systemctl start {{ minion_service }}"
|
||||
stop program = "/bin/systemctl stop {{ minion_service }}"
|
||||
start program = "/bin/systemctl start {{ minion_service }}@*.service"
|
||||
stop program = "/bin/systemctl stop {{ minion_service }}@*.service"
|
||||
|
|
Loading…
Reference in a new issue