# proftpd monit-cn template check process proftpd with pidfile "/var/run/proftpd.pid" start program = "/etc/init.d/proftpd start" stop program = "/etc/init.d/proftpd stop" if failed host 127.0.0.1 port 21 protocol ftp then restart