I edited out a couple of extraneous lines from my process monitor rc
files. I was checking the lockfiles to stop monitoring, but I found out
they didn't work- so they were removed.
Now monit won't start. It gives syntax errors on everything.
address@hidden monit.d]# monit -vI
monit: Debug: Adding host allow 'localhost' (127.0.0.1).
monit: Debug: Adding host allow 'home.doki-doki.net' (68.197.111.48).
monit: Debug: Adding credentials for user 'admin'.
/etc/monit.d/dovecot:1: Error: syntax error 'process'
the dovecot file is:
check process dovecot with pidfile /var/run/dovecot/master.pid
start program = "/etc/init.d/dovecot start"
stop program = "/etc/init.d/dovecot stop"
if failed host mail.doki-doki.net port 143 type TCP protocol IMAP
then restart
if 5 restarts within 5 cycles then timeout
it does this for all of them...
what happened?