minor-ish service file tweaks to reduce flakyness
This commit is contained in:
parent
ad2b6c2525
commit
10cdd957ff
1 changed files with 2 additions and 0 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue