diff options
author | h7x4 <h7x4@nani.wtf> | 2024-01-11 22:10:18 +0100 |
---|---|---|
committer | h7x4 <h7x4@nani.wtf> | 2024-01-24 05:13:17 +0100 |
commit | f5d513c5738e630bb053f897b789801bff078ec9 (patch) | |
tree | 03fa417b85608c572de4eec6f87a4bbd8ef82545 /nixos/modules/services/web-apps/mattermost.nix | |
parent | bfc38653369649ad316825bc21005c5105599ec2 (diff) |
treewide: use new tmpfiles api
Diffstat (limited to 'nixos/modules/services/web-apps/mattermost.nix')
-rw-r--r-- | nixos/modules/services/web-apps/mattermost.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/services/web-apps/mattermost.nix b/nixos/modules/services/web-apps/mattermost.nix index 5035594323749..3d03c96d1c191 100644 --- a/nixos/modules/services/web-apps/mattermost.nix +++ b/nixos/modules/services/web-apps/mattermost.nix @@ -277,9 +277,7 @@ in # The systemd service will fail to execute the preStart hook # if the WorkingDirectory does not exist - systemd.tmpfiles.rules = [ - ''d "${cfg.statePath}" -'' - ]; + systemd.tmpfiles.settings."10-mattermost".${cfg.statePath}.d = { }; systemd.services.mattermost = { description = "Mattermost chat service"; |