mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
nixos/rust-motd: fix systemd service checks
By completely locking down RestrictAddressFamilies, the service was unable to talk to systemd to check .service statuses.
This commit is contained in:
parent
165abe7d73
commit
1655d5ab7a
@ -69,7 +69,7 @@ in {
|
||||
ProtectKernelTunables = true;
|
||||
ProtectSystem = "full";
|
||||
StateDirectory = "rust-motd";
|
||||
RestrictAddressFamilies = "none";
|
||||
RestrictAddressFamilies = [ "AF_UNIX" ];
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
RestrictSUIDSGID = true;
|
||||
|
Loading…
Reference in New Issue
Block a user