configuration-templates – Diff between revs 27 and 50
?pathlinks?
Rev 27 | Rev 50 | |||
---|---|---|---|---|
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
4 | |
4 | |
|
5 | check process dovecot with pidfile /var/run/dovecot/master.pid |
5 | check process dovecot with pidfile /var/run/dovecot/master.pid |
|
- | 6 | group mail |
||
- | 7 | depends dovecot_init |
||
- | 8 | depends dovecot_bin |
||
6 | start program = "/etc/init.d/dovecot start" |
9 | start program = "/etc/init.d/dovecot start" |
|
7 | stop program = "/etc/init.d/dovecot stop" |
10 | stop program = "/etc/init.d/dovecot stop" |
|
8 | group mail |
- | ||
9 | if failed host mail.grimore.org port 993 type tcpssl sslauto protocol |
11 | if failed host mail.grimore.org port 993 type tcpssl sslauto protocol |
|
10 | imap for 5 cycles then restart |
12 | imap for 5 cycles then restart |
|
11 | # if 3 restarts within 5 cycles then timeout |
13 | # if 3 restarts within 5 cycles then timeout |
|
12 | depends dovecot_init |
- | ||
13 | depends dovecot_bin |
- | ||
- | 14 | |
||
14 | check file dovecot_init with path /etc/init.d/dovecot |
15 | check file dovecot_init with path /etc/init.d/dovecot |
|
15 | group mail |
16 | group mail |
|
- | 17 | |
||
16 | check file dovecot_bin with path /usr/sbin/dovecot |
18 | check file dovecot_bin with path /usr/sbin/dovecot |
|
17 | group mail |
19 | group mail |
|
18 | |
20 | |