Merge pull request #200222 from Ma27/prometheus-hardening-regression
nixos/prometheus: fix startup w/hardened service
This commit is contained in:
commit
ea2a9ac9d3
1 changed files with 1 additions and 1 deletions
|
@ -1822,7 +1822,7 @@ in
|
||||||
RestrictRealtime = true;
|
RestrictRealtime = true;
|
||||||
RestrictSUIDSGID = true;
|
RestrictSUIDSGID = true;
|
||||||
SystemCallArchitectures = "native";
|
SystemCallArchitectures = "native";
|
||||||
SystemCallFilter = [ "@system-service" "~@privileged" "~@resources" ];
|
SystemCallFilter = [ "@system-service" "~@privileged" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# prometheus-config-reload will activate after prometheus. However, what we
|
# prometheus-config-reload will activate after prometheus. However, what we
|
||||||
|
|
Loading…
Reference in a new issue