0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

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.
This commit is contained in:
networkException 2024-03-08 23:16:05 +01:00
parent 644eac31e6
commit f0097cf1d9
No known key found for this signature in database
GPG key ID: E3877443AE684391

View file

@ -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";
};