Merge pull request #292473 from networkException/fix-synapse-unix-socket-permissions
nixos/matrix-synapse: allow synapse to write to directories of unix socket paths
This commit is contained in:
commit
0d17fd9524
1 changed files with 2 additions and 1 deletions
|
@ -1232,7 +1232,8 @@ in {
|
|||
ProtectKernelTunables = true;
|
||||
ProtectProc = "invisible";
|
||||
ProtectSystem = "strict";
|
||||
ReadWritePaths = [ cfg.dataDir cfg.settings.media_store_path ];
|
||||
ReadWritePaths = [ cfg.dataDir cfg.settings.media_store_path ] ++
|
||||
(map (listener: dirOf listener.path) (filter (listener: listener.path != null) cfg.settings.listeners));
|
||||
RemoveIPC = true;
|
||||
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" "AF_UNIX" ];
|
||||
RestrictNamespaces = true;
|
||||
|
|
Loading…
Reference in a new issue