fix(gerrit): tmpdir-related failure #119

Open
kfearsoff wants to merge 1 commit from kfearsoff/infra:fix-alloy-gerrit into main

View file

@ -113,6 +113,7 @@ in
pyroscope.java "java" {
targets = discovery.relabel.java.output
forward_to = [pyroscope.write.production.receiver]
tmp_dir = "/run/alloy" // The default "/tmp" can be cleaned up and provoke failure, see #108
profiling_config {
interval = "60s"
alloc = "512k"
@ -315,6 +316,7 @@ in
# setting for the Gerrit service to be disabled and reuse the
# existing 'git' user.
DynamicUser = lib.mkForce false;
RuntimeDirectory = "alloy";
User = "git";
Group = "git";
};