check process dnsmasq with pidfile "/run/dnsmasq/dnsmasq.pid" group system start program = "/bin/systemctl start dnsmasq" stop program = "/bin/systemctl stop dnsmasq" if failed port 53 type udp protocol dns with timeout 10 seconds with retry 2 then restart if 5 restarts within 5 cycles then timeout