about summary refs log tree commit diff
path: root/nixos/modules/services/matrix
diff options
context:
space:
mode:
authornetworkException <git@nwex.de>2024-03-08 23:16:05 +0100
committernetworkException <git@nwex.de>2024-03-08 23:16:05 +0100
commitf0097cf1d9033d1f11df443d12d0648f899002df (patch)
tree3f3cf8ca16dad2b7b6c271bf793f9365534b383c /nixos/modules/services/matrix
parent644eac31e6c163360743be630b198d988fb6460f (diff)
nixos/matrix-sliding-sync: create runtime directory in /run/matrix-sliding-sync
this patch enables the creation of a runtime directory with the default
mode 0755 in /run/matrix-sliding-sync to offer a simple option for
SYNCV3_BINDADDR when using unix sockets.
Diffstat (limited to 'nixos/modules/services/matrix')
-rw-r--r--nixos/modules/services/matrix/matrix-sliding-sync.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/matrix/matrix-sliding-sync.nix b/nixos/modules/services/matrix/matrix-sliding-sync.nix
index 078fe211c8d5a..d62e41bebd647 100644
--- a/nixos/modules/services/matrix/matrix-sliding-sync.nix
+++ b/nixos/modules/services/matrix/matrix-sliding-sync.nix
@@ -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";
       };