Merge pull request #292304 from networkException/unix-socket-sliding-sync-bindaddr

nixos/matrix-sliding-sync: improve unix socket support

authored by Emily and committed by GitHub 8b7eef36 d8cca8e4

+2 -1
+2 -1
nixos/modules/services/matrix/matrix-sliding-sync.nix
··· 37 37 type = lib.types.str; 38 38 default = "127.0.0.1:8009"; 39 39 example = "[::]:8008"; 40 - description = lib.mdDoc "The interface and port to listen on."; 40 + description = lib.mdDoc "The interface and port or path (for unix socket) to listen on."; 41 41 }; 42 42 43 43 SYNCV3_LOG_LEVEL = lib.mkOption { ··· 98 98 ExecStart = lib.getExe cfg.package; 99 99 StateDirectory = "matrix-sliding-sync"; 100 100 WorkingDirectory = "%S/matrix-sliding-sync"; 101 + RuntimeDirectory = "matrix-sliding-sync"; 101 102 Restart = "on-failure"; 102 103 RestartSec = "1s"; 103 104 };