mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-17 09:32:50 +00:00
modules.matrix-appservice-irc: allow connecting to unix sockets
In order to connect to postgres sockets. This took a while to track down :/
This commit is contained in:
parent
8651109424
commit
03ea3ba1ed
|
@ -214,7 +214,8 @@ in {
|
|||
PrivateMounts = true;
|
||||
SystemCallFilter = "~@aio @clock @cpu-emulation @debug @keyring @memlock @module @mount @obsolete @raw-io @setuid @swap";
|
||||
SystemCallArchitectures = "native";
|
||||
RestrictAddressFamilies = "AF_INET AF_INET6";
|
||||
# AF_UNIX is required to connect to a postgres socket.
|
||||
RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue