From e287a82aecf5c2b14bc829f3908d55d0411788ba Mon Sep 17 00:00:00 2001 From: Lars Kruse Date: Tue, 27 Dec 2022 19:22:17 +0100 Subject: [PATCH] zammad: entferne redundante monit-Zeilen --- templates/monit.j2 | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/monit.j2 b/templates/monit.j2 index 18c6d5f..95ded6f 100644 --- a/templates/monit.j2 +++ b/templates/monit.j2 @@ -4,7 +4,6 @@ check process zammad-rails with pidfile {{ zammad_home }}/tmp/pids/server.pid if 2 restarts within 3 cycles then timeout if cpu usage > 95% for 3 cycles then restart if failed host 127.0.0.1 port 3000 for 3 cycles then restart - if 5 restarts within 5 cycles then timeout check process zammad-websocket matching "script/websocket-server.rb -b 127.0.0.1 -p 6042 start" @@ -13,11 +12,9 @@ check process zammad-websocket if 2 restarts within 3 cycles then timeout if cpu usage > 95% for 3 cycles then restart if failed host 127.0.0.1 port 6042 for 3 cycles then restart - if 5 restarts within 5 cycles then timeout check process zammad-scheduler with pidfile {{ zammad_home }}/tmp/pids/scheduler.pid start program = "/usr/sbin/service zammad-scheduler start" stop program = "/usr/sbin/service zammad-scheduler stop" if 2 restarts within 3 cycles then timeout if cpu usage > 95% for 3 cycles then restart - if 5 restarts within 5 cycles then timeout