inconcievable
This commit is contained in:
parent
644e3f68a3
commit
630ba13743
1 changed files with 4 additions and 9 deletions
|
|
@ -50,14 +50,6 @@
|
|||
hostPath = "/var/lib/gitlab-runner";
|
||||
isReadOnly = false;
|
||||
};
|
||||
"/var/lib/gitlab-runner/builds" = {
|
||||
hostPath = "/var/lib/gitlab-runner/builds";
|
||||
isReadOnly = false;
|
||||
};
|
||||
"/var/lib/gitlab-runner/cache" = {
|
||||
hostPath = "/var/lib/gitlab-runner/cache";
|
||||
isReadOnly = false;
|
||||
};
|
||||
};
|
||||
|
||||
# Guest (inside the nspawn container)
|
||||
|
|
@ -103,7 +95,10 @@
|
|||
StateDirectory = lib.mkForce "";
|
||||
LogsDirectory = lib.mkForce "";
|
||||
CacheDirectory = lib.mkForce "";
|
||||
RuntimeDirectory = lib.mkForce ""; # optional, keeps things simple
|
||||
RuntimeDirectory = lib.mkForce "";
|
||||
ProtectSystem = lib.mkForce "no";
|
||||
ProtectHome = lib.mkForce "no";
|
||||
ReadWritePaths = [ "/var/lib/gitlab-runner" ];
|
||||
};
|
||||
# Basics
|
||||
systemd.oomd.enable = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue