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
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:
parent
7330cd1d01
commit
96e0df2523
1 changed files with 7 additions and 0 deletions
|
|
@ -336,6 +336,10 @@ in
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
# Build can take a while, especially on first run
|
# Build can take a while, especially on first run
|
||||||
TimeoutStartSec = "30min";
|
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)
|
# Completely disable sandboxing for build (npm scripts need full access)
|
||||||
PrivateTmp = false;
|
PrivateTmp = false;
|
||||||
PrivateDevices = false;
|
PrivateDevices = false;
|
||||||
|
|
@ -350,6 +354,9 @@ in
|
||||||
LockPersonality = false;
|
LockPersonality = false;
|
||||||
# Don't restrict syscalls
|
# Don't restrict syscalls
|
||||||
SystemCallFilter = "";
|
SystemCallFilter = "";
|
||||||
|
# No resource limits
|
||||||
|
TasksMax = "infinity";
|
||||||
|
MemoryMax = "infinity";
|
||||||
};
|
};
|
||||||
|
|
||||||
script = ''
|
script = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue