Dovecot Systax Problem

main
boksbc 2025-10-20 21:49:06 +02:00
parent ac71667897
commit f956a51f78
1 changed files with 3 additions and 1 deletions

View File

@ -111,8 +111,10 @@ check process redis with pidfile /run/redis/redis-server.pid
start program = "/bin/systemctl start redis-server"
stop program = "/bin/systemctl stop redis-server"
if failed host 127.0.0.1 port 6379 for 2 cycles then restart
if failed program "/usr/local/sbin/mw-redis-ping.sh" for 2 cycles then restart
if 5 restarts within 5 cycles then alert
check program redis_ping path "/usr/local/sbin/mw-redis-ping.sh"
if status != 0 for 2 cycles then exec "/bin/systemctl restart redis-server"
EOF
cat >/etc/monit/conf.d/rspamd.conf <<'EOF'