Dovecot Systax Problem
parent
ac71667897
commit
f956a51f78
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue