Tag: monit domoticz

  • Come configurare Monit con Domoticz

    sudo nano /etc/monit/conf.d/domoticz Copiate e incollate: check process domoticz with pidfile /var/run/domoticz.pid start program = “/etc/init.d/domoticz.sh start” stop program = “/etc/init.d/domoticz.sh stop” if failed url and content = ‘”status” : “OK”‘ for 2 cycles then restart if 5 restarts within 5 cycles then exec “/sbin/reboot” E poi riavviate Monit con: sudo monit reload