Unverified Commit 8b7eef36 authored by Emily's avatar Emily Committed by GitHub
Browse files

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

nixos/matrix-sliding-sync: improve unix socket support
parents d8cca8e4 f0097cf1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ in
            type = lib.types.str;
            default = "127.0.0.1:8009";
            example = "[::]:8008";
            description = lib.mdDoc "The interface and port to listen on.";
            description = lib.mdDoc "The interface and port or path (for unix socket) to listen on.";
          };

          SYNCV3_LOG_LEVEL = lib.mkOption {
@@ -98,6 +98,7 @@ in
        ExecStart = lib.getExe cfg.package;
        StateDirectory = "matrix-sliding-sync";
        WorkingDirectory = "%S/matrix-sliding-sync";
        RuntimeDirectory = "matrix-sliding-sync";
        Restart = "on-failure";
        RestartSec = "1s";
      };