Merge pull request #119929 from expipiplus1/patch-3

modules.matrix-appservice-irc: allow connecting to unix sockets
wip/yesman
Martin Weinelt 3 years ago committed by GitHub
commit 1c4f6dd00e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      nixos/modules/services/misc/matrix-appservice-irc.nix

@ -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…
Cancel
Save