diff options
| author | Maximilian | 2014-12-10 14:09:01 +0100 |
|---|---|---|
| committer | Maximilian | 2014-12-10 14:09:01 +0100 |
| commit | afdd4806fcd15a02cd4caa74c252dc9db8455a21 (patch) | |
| tree | 536912a3299bbe4ea59795ff10e7f764e8636fd6 /monit/dovecot.conf | |
| parent | 5e7fe4497f008969a00bda55c634ea20488dcb2d (diff) | |
| download | dotfiles-afdd4806fcd15a02cd4caa74c252dc9db8455a21.tar.gz | |
Added more config files.
Diffstat (limited to 'monit/dovecot.conf')
| -rw-r--r-- | monit/dovecot.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/monit/dovecot.conf b/monit/dovecot.conf new file mode 100644 index 0000000..3aab9e4 --- /dev/null +++ b/monit/dovecot.conf @@ -0,0 +1,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 |
