configuration-templates
/monit/debian/templates/afpd-tcp |
---|
@@ -5,5 +5,5 @@ |
check process afpd with pidfile /var/run/afpd.pid |
start program "/etc/init.d/netatalk restart" |
stop program "/etc/init.d/netatalk stop" |
if failed host 127.0.0.1 port 548 type tcp then restart |
#if failed host 127.0.0.1 port 548 type tcp then restart |
# if 5 restarts within 5 cycles then timeout |