zammad: Fix name of variable

This commit is contained in:
phil 2023-06-07 23:16:49 +02:00
parent 2d539c31a0
commit c54a5dd9f0

View file

@ -1,6 +1,6 @@
check process {{ zammad_rails_service | splitext | first }} with pidfile {{ zammad_home }}/tmp/pids/server.pid check process {{ zammad_rails_service | splitext | first }} with pidfile {{ zammad_home }}/tmp/pids/server.pid
start program = "/usr/sbin/service {{ zammad_rails_service | splitext | first }} start" start program = "/usr/sbin/service {{ zammad_rails_service | splitext | first }} start"
stop program = "/usr/sbin/service {{ zammad-rails_service | splitext | first }} stop" stop program = "/usr/sbin/service {{ zammad_rails_service | splitext | first }} stop"
if 2 restarts within 3 cycles then timeout if 2 restarts within 3 cycles then timeout
if cpu usage > 95% for 3 cycles then restart if cpu usage > 95% for 3 cycles then restart
if failed host 127.0.0.1 port 3000 for 3 cycles then restart if failed host 127.0.0.1 port 3000 for 3 cycles then restart
@ -15,7 +15,7 @@ check process {{ zammad_websocket_service | splitext | first }}
check process {{ zammad_worker_service | splitext | first }} check process {{ zammad_worker_service | splitext | first }}
matching "script/background-worker.rb start" matching "script/background-worker.rb start"
start program = "/usr/sbin/service {{ zammad-worker_service | splitext | first }} start" start program = "/usr/sbin/service {{ zammad_worker_service | splitext | first }} start"
stop program = "/usr/sbin/service {{ zammad_worker_service | splitext | first }} stop" stop program = "/usr/sbin/service {{ zammad_worker_service | splitext | first }} stop"
if 2 restarts within 3 cycles then timeout if 2 restarts within 3 cycles then timeout
if cpu usage > 95% for 3 cycles then restart if cpu usage > 95% for 3 cycles then restart