Add KillMode=process, TasksMax/MemoryMax=infinity
Some checks failed
nix-bitcoin tests / build_test_drivers (push) Has been cancelled
nix-bitcoin tests / check_flake (push) Has been cancelled
nix-bitcoin tests / test_scenario (default) (push) Has been cancelled
nix-bitcoin tests / test_scenario (joinmarket-bitcoind-29) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netns) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netnsRegtest) (push) Has been cancelled

This commit is contained in:
Patrick Mulligan 2026-01-09 22:56:19 +01:00
parent 7330cd1d01
commit 96e0df2523

View file

@ -336,6 +336,10 @@ in
Group = cfg.group;
# Build can take a while, especially on first run
TimeoutStartSec = "30min";
# Don't kill child processes when main process exits
KillMode = "process";
# Send SIGTERM instead of SIGINT
KillSignal = "SIGTERM";
# Completely disable sandboxing for build (npm scripts need full access)
PrivateTmp = false;
PrivateDevices = false;
@ -350,6 +354,9 @@ in
LockPersonality = false;
# Don't restrict syscalls
SystemCallFilter = "";
# No resource limits
TasksMax = "infinity";
MemoryMax = "infinity";
};
script = ''