Come configurare Monit con SickRage

sudo nano /etc/monit/conf.d/sickrage

Incollate:

check process SickRage matching "sickrage"
start program = "/etc/init.d/sickrage start"
stop program = "/etc/init.d/sickrage stop"
if failed host 127.0.0.1 port 8081 type TCP for 2 cycles then restart
if 2 restarts within 3 cycles then unmonitor

E poi riavviate Monit con:

sudo monit reload

Pubblicato

in

da