fix(gerrit): tmpdir-related failure
This commit is contained in:
parent
8d95d1f850
commit
9ebba0f74d
|
@ -112,6 +112,7 @@ in
|
||||||
pyroscope.java "java" {
|
pyroscope.java "java" {
|
||||||
targets = discovery.relabel.java.output
|
targets = discovery.relabel.java.output
|
||||||
forward_to = [pyroscope.write.production.receiver]
|
forward_to = [pyroscope.write.production.receiver]
|
||||||
|
tmp_dir = "/run/alloy" // The default "/tmp" can be cleaned up and provoke failure, see #108
|
||||||
profiling_config {
|
profiling_config {
|
||||||
interval = "60s"
|
interval = "60s"
|
||||||
alloc = "512k"
|
alloc = "512k"
|
||||||
|
@ -312,6 +313,7 @@ in
|
||||||
# setting for the Gerrit service to be disabled and reuse the
|
# setting for the Gerrit service to be disabled and reuse the
|
||||||
# existing 'git' user.
|
# existing 'git' user.
|
||||||
DynamicUser = lib.mkForce false;
|
DynamicUser = lib.mkForce false;
|
||||||
|
RuntimeDirectory = "alloy";
|
||||||
User = "git";
|
User = "git";
|
||||||
Group = "git";
|
Group = "git";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue