Ensure directory exists

This commit is contained in:
niten 2023-09-12 16:23:05 -07:00
parent 8127318298
commit 18714e43c3
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ in {
user = config.systemd.services.matrix-synapse.serviceConfig.User; user = config.systemd.services.matrix-synapse.serviceConfig.User;
}; };
systemd.tmpfiles.rules =
let user = config.systemd.services.matrix-synapse.serviceConfig.User;
in [ "d ${cfg.state-directory} 0700 ${user} root - -" ];
services = { services = {
matrix-synapse = { matrix-synapse = {
enable = true; enable = true;