mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/zigbee2mqtt: add AF_UNIX to RestrictAddressFamilies
zigbee2mqtt supports listening on unix domain sockets, if a path is
specified in the `frontend.host` config key.
This currently fails with the following log message:
> zigbee2mqtt[4551]: Error: listen EAFNOSUPPORT: address family not supported /path/to/zigbee2mqtt.sock
Listening on unix domain sockets is a reasonable thing to have enabled,
so let's add it to the list.
(cherry picked from commit 93c9f9cde4)
This commit is contained in:
parent
accaeb8d84
commit
f40beec906
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ in
|
|||
"AF_INET"
|
||||
"AF_INET6"
|
||||
"AF_NETLINK"
|
||||
"AF_UNIX"
|
||||
];
|
||||
RestrictNamespaces = true;
|
||||
RestrictRealtime = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue