summaryrefslogtreecommitdiff
path: root/monit/dovecot.conf
blob: 3aab9e437a399f8c4e4fb93aee16c25f950d6b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
check process dovecot with pidfile /var/run/dovecot/master.pid
	GROUP mail
	start program = "/etc/init.d/dovecot start"
	stop program = "/etc/init.d/dovecot stop"
	if failed host localhost port 993 type tcpssl sslauto protocol imap for 5 cycles then restart
	if 3 restarts within 5 cycles then timeout
	depends dovecot_init
	depends dovecot_bin

check file dovecot_init with path /etc/init.d/dovecot
	GROUP mail
check file dovecot_bin with path /usr/sbin/dovecot
	GROUP mail