########################################################################### ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## ########################################################################### check process opendmarc with pidfile /var/run/opendmarc/opendmarc.pid start program "/etc/init.d/opendmarc start" stop program "/etc/init.d/opendmarc stop" #if failed unixsocket /var/run/opendmarc/opendmarc.sock type tcp then restart if failed port 12345 type tcp then restart # if 5 restarts within 5 cycles then timeout