diff --git a/default.nix b/default.nix index c438099..7ef5cba 100644 --- a/default.nix +++ b/default.nix @@ -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" '';