# qpopper monit-cn template check process qpopper with pidfile "/var/run/popper.pid" group mail start program = "/etc/init.d/qpopper start" stop program = "/etc/init.d/qpopper stop" if failed host 127.0.0.1 port 110 type tcp then restart