minor-ish service file tweaks to reduce flakyness

This commit is contained in:
Skye 2024-06-16 13:17:43 +09:00
parent ad2b6c2525
commit 10cdd957ff
Signed by: me
GPG key ID: 0104BC05F41B77B8

View file

@ -128,6 +128,7 @@
systemd.services.quiclime = { systemd.services.quiclime = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network-online.target" ]; after = [ "network-online.target" ];
wants = [ "network-online.target" ];
description = "Quiclime relay server"; description = "Quiclime relay server";
serviceConfig = { serviceConfig = {
Type = "simple"; Type = "simple";
@ -136,6 +137,7 @@
ExecStart = ExecStart =
"${cfg.package}/bin/quiclime"; "${cfg.package}/bin/quiclime";
Restart = "on-failure"; Restart = "on-failure";
LimitNOFILE = "infinity";
}; };
environment = { environment = {