mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 19:00:46 +00:00
nixos/adguardhome: allow AF_UNIX when log.file=="syslog"
(cherry picked from commit 6ac56136e5)
This commit is contained in:
committed by
github-actions[bot]
parent
e452157684
commit
db280ba7ac
@@ -238,6 +238,8 @@ in
|
||||
"AF_INET"
|
||||
"AF_INET6"
|
||||
]
|
||||
# AF_UNIX to be able to connect to e.g. /dev/log
|
||||
++ lib.optionals (cfg.settings.log.file or "" == "syslog") [ "AF_UNIX" ]
|
||||
++ lib.optionals cfg.allowDHCP [ "AF_PACKET" ];
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
|
||||
Reference in New Issue
Block a user