Merge pull request #119929 from expipiplus1/patch-3

modules.matrix-appservice-irc: allow connecting to unix sockets
This commit is contained in:
Martin Weinelt 2021-04-21 00:54:11 +02:00 committed by GitHub
commit 1c4f6dd00e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";
};
};