diff --git a/services/gerrit/default.nix b/services/gerrit/default.nix index 8e79b04..f8a1c42 100644 --- a/services/gerrit/default.nix +++ b/services/gerrit/default.nix @@ -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"; };