From f0097cf1d9033d1f11df443d12d0648f899002df Mon Sep 17 00:00:00 2001 From: networkException Date: Fri, 8 Mar 2024 23:16:05 +0100 Subject: [PATCH] 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. --- nixos/modules/services/matrix/matrix-sliding-sync.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/matrix/matrix-sliding-sync.nix b/nixos/modules/services/matrix/matrix-sliding-sync.nix index 078fe211c8d5..d62e41bebd64 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"; };