# Managed by Ansible

check process postfix with pidfile /var/spool/postfix/pid/master.pid
  group mailserver
  start program = "/usr/sbin/service postfix@- start"
  stop program = "/usr/sbin/service postfix@- stop"
  if failed port 25 protocol smtp with timeout 15 seconds for 3 cycles then restart