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