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:
Joe Hermaszewski 2021-04-20 15:48:50 +08:00 committed by GitHub
parent 8651109424
commit 03ea3ba1ed
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";
};
};