mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 02:23:07 +03:00
nixos/prometheus: fix startup w/hardened service
See the discussion below the original PR[1] and #197443 for more context. I guess I missed that upon review because the branch was too old and I cherry-picked the commit onto my deployment branch which is based on 22.05. Sorry for that! [1] https://github.com/NixOS/nixpkgs/pull/162784#issuecomment-1306848036
This commit is contained in:
parent
6b572437c0
commit
dcb32beda0
@ -1822,7 +1822,7 @@ in
|
||||
RestrictRealtime = true;
|
||||
RestrictSUIDSGID = true;
|
||||
SystemCallArchitectures = "native";
|
||||
SystemCallFilter = [ "@system-service" "~@privileged" "~@resources" ];
|
||||
SystemCallFilter = [ "@system-service" "~@privileged" ];
|
||||
};
|
||||
};
|
||||
# prometheus-config-reload will activate after prometheus. However, what we
|
||||
|
Loading…
Reference in New Issue
Block a user