fix(gerrit): tmpdir-related failure
This commit is contained in:
parent
8d95d1f850
commit
9ebba0f74d
|
@ -112,6 +112,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"
|
||||
|
@ -312,6 +313,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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue