Ensure directory exists
This commit is contained in:
parent
8127318298
commit
18714e43c3
|
@ -83,6 +83,10 @@ in {
|
|||
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 = {
|
||||
matrix-synapse = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue