Am Donnerstag, den 16.10.2014, 14:57 +0200 schrieb Rudy Gevaert: > On Tue, Oct 14, 2014 at 10:28:24PM +0200, Marcus Schopen wrote: > > > > Thanks, what a great idea. > > > > Is it this script? > > > > https://github.com/rgevaert/cyrus-ugent/blob/master/src/cyrus-synccheck > > > > Hi, yes it is, I forgot I shared it online :) > > Rudy Checked monit rules today and forgot to post what I did last year. Here is my monit rule on master: -------- check process sync_client matching "/usr/lib/cyrus/bin/sync_client -r" every 2 cycles start program = "/root/bin/start_cyrus_sync_client" stop program = "/usr/bin/killall sync_client" if 5 restarts within 10 cycles then timeout -------- /root/bin/start_cyrus_sync_client: -------- #!/bin/bash /bin/su - cyrus -c "/usr/lib/cyrus/bin/sync_client -r" -------- Ciao Marcus ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus