Files
server/opt/psa/var/modules/watchdog/etc/service.tpl.d/dovecot
2026-01-07 20:52:11 +01:00

11 lines
719 B
Plaintext

### Copyright 1999-2026. WebPros International GmbH. All rights reserved.
check process dovecot with pidfile /run/dovecot/master.pid
start program = "<dovecot_start>"
stop program = "<dovecot_stop>"
if failed port 143 protocol imap with timeout <dovecot_connection_timeout> seconds then restart
if failed port 993 type tcpssl protocol imap with timeout <dovecot_connection_timeout> seconds then restart
if failed port 110 protocol pop with timeout <dovecot_connection_timeout> seconds then restart
if failed port 995 type tcpssl protocol pop with timeout <dovecot_connection_timeout> seconds then restart
every <dovecot_cycles> cycles
mode <dovecot_mode>