about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorEmily <git@emilylange.de>2024-03-09 20:12:48 +0100
committerGitHub <noreply@github.com>2024-03-09 20:12:48 +0100
commit8b7eef367c1bdebc8b37be47fcb7b4e9a1ed6e1e (patch)
treeaaca56c084b763aae04abedf22041fc47f3b79bc /nixos
parentd8cca8e4c9573e4867425bacea41d7d8649d283d (diff)
parentf0097cf1d9033d1f11df443d12d0648f899002df (diff)
Merge pull request #292304 from networkException/unix-socket-sliding-sync-bindaddr
nixos/matrix-sliding-sync: improve unix socket support
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/matrix/matrix-sliding-sync.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/matrix/matrix-sliding-sync.nix b/nixos/modules/services/matrix/matrix-sliding-sync.nix
index 8b22cd7dba802..d62e41bebd647 100644
--- a/nixos/modules/services/matrix/matrix-sliding-sync.nix
+++ b/nixos/modules/services/matrix/matrix-sliding-sync.nix
@@ -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";
       };