mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +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:
parent
644eac31e6
commit
f0097cf1d9
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ in
|
||||||
ExecStart = lib.getExe cfg.package;
|
ExecStart = lib.getExe cfg.package;
|
||||||
StateDirectory = "matrix-sliding-sync";
|
StateDirectory = "matrix-sliding-sync";
|
||||||
WorkingDirectory = "%S/matrix-sliding-sync";
|
WorkingDirectory = "%S/matrix-sliding-sync";
|
||||||
|
RuntimeDirectory = "matrix-sliding-sync";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "1s";
|
RestartSec = "1s";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue