monit/rspamd: monitor by process name
This commit is contained in:
parent
6284a20f77
commit
15cf252a0d
|
@ -799,7 +799,7 @@ in
|
|||
stop program = "${pkgs.systemd}/bin/systemctl stop dovecot2"
|
||||
if failed host ${cfg.fqdn} port 993 type tcpssl sslauto protocol imap for 5 cycles then restart
|
||||
|
||||
check process rspamd with pidfile /var/run/rspamd.pid
|
||||
check process rspamd with matching "rspamd: main process"
|
||||
start program = "${pkgs.systemd}/bin/systemctl start rspamd"
|
||||
stop program = "${pkgs.systemd}/bin/systemctl stop rspamd"
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue