check process access_log with pidfile /run/access_logd.pid start program = "/usr/bin/access_logd start" stop program = "/usr/bin/access_logd stop" check process nginx with pidfile /run/nginx.pid start program = "/usr/sbin/nginx" stop program = "/usr/sbin/nginx -s stop" if failed host localhost port 80 3 times within 5 cycles then restart check process prometheus with pidfile /tmp/prometheus.pid start program = "/usr/local/bin/prometheusd start" stop program = "/usr/local/bin/prometheusd stop"