configuration-templates – Diff between revs 27 and 50
?pathlinks?
Rev 27 | Rev 50 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
Line 4... | Line 4... | |||
4 | |
4 | |
|
- | 5 | check process dovecot with pidfile /var/run/dovecot/master.pid |
||
- | 6 | group mail |
||
- | 7 | depends dovecot_init |
||
5 | check process dovecot with pidfile /var/run/dovecot/master.pid |
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" |
- | ||
8 | group mail |
10 | stop program = "/etc/init.d/dovecot stop" |
|
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 |
- | ||
12 | depends dovecot_init |
- | ||
- | 13 | # if 3 restarts within 5 cycles then timeout |
||
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 |
|
- | 16 | group mail |
||
15 | group mail |
17 | |
|
16 | check file dovecot_bin with path /usr/sbin/dovecot |
18 | check file dovecot_bin with path /usr/sbin/dovecot |