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;
|
PrivateMounts = true;
|
||||||
SystemCallFilter = "~@aio @clock @cpu-emulation @debug @keyring @memlock @module @mount @obsolete @raw-io @setuid @swap";
|
SystemCallFilter = "~@aio @clock @cpu-emulation @debug @keyring @memlock @module @mount @obsolete @raw-io @setuid @swap";
|
||||||
SystemCallArchitectures = "native";
|
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…
x
Reference in New Issue
Block a user