change systemd restart policy to always with rate limiting

This commit is contained in:
Damocles 2026-04-18 09:49:09 +02:00
parent f071bb17e1
commit a96971fba4

View file

@ -282,7 +282,10 @@ in
};
Service = {
ExecStart = lib.getExe cfg.package;
Restart = "on-failure";
Restart = "always";
RestartSec = 1;
StartLimitIntervalSec = 30;
StartLimitBurst = 5;
Slice = "session.slice";
};
Install.WantedBy = [ cfg.systemd.target ];