fix: limit nofile
Simon Hauser committed
Aug 21, 2025 at 20:32 UTC
880ca3045bcbdbb0787f4a314889e9627fe456e4
1 file changed
+3
non-critical-infra/modules/hydra-queue-runner-v2.nix
+3
@@ -198,6 +198,7 @@ in
198
HOME = "/var/lib/hydra/queue-runner";
199
};
200
201
+ restartIfChanged = false;
202
serviceConfig = {
203
Type = "notify";
204
Restart = "always";
@@ -244,6 +245,8 @@ in
245
"~@privileged"
246
"~@resources"
247
];
248
+ ManagedOOMPreference = "avoid";
249
+ LimitNOFILE = 65536;
250
251
ProtectSystem = "strict";
252
ProtectHome = true;