modules(drone-exec-runner): protect runners from killing themselves (really now)
This commit is contained in:
parent
2362a3f38e
commit
2d9da6ab1f
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ in
|
|||
systemd.services = mapAttrs' (runnerName: cfg: nameValuePair ("drone-exec-runner-${runnerName}") ({
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
inherit restartIfChanged;
|
||||
inherit (cfg) restartIfChanged;
|
||||
|
||||
confinement.enable = true;
|
||||
confinement.packages = cfg.allowedPackages;
|
||||
|
|
Loading…
Reference in a new issue