From 059006b84b3c1a6d987e9f09bcaf356c99c2ed6f Mon Sep 17 00:00:00 2001 From: midchildan Date: Sat, 20 May 2023 19:58:07 +0900 Subject: nixos/epgstation: add required directories to tmpfiles.d --- nixos/modules/services/video/epgstation/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nixos/modules/services') diff --git a/nixos/modules/services/video/epgstation/default.nix b/nixos/modules/services/video/epgstation/default.nix index a395294ec1425..78826e048f2c8 100644 --- a/nixos/modules/services/video/epgstation/default.nix +++ b/nixos/modules/services/video/epgstation/default.nix @@ -308,9 +308,15 @@ in ]; systemd.tmpfiles.rules = [ + "d '/var/lib/epgstation/key' - ${username} ${groupname} - -" "d '/var/lib/epgstation/streamfiles' - ${username} ${groupname} - -" + "d '/var/lib/epgstation/drop' - ${username} ${groupname} - -" "d '/var/lib/epgstation/recorded' - ${username} ${groupname} - -" "d '/var/lib/epgstation/thumbnail' - ${username} ${groupname} - -" + "d '/var/lib/epgstation/db/subscribers' - ${username} ${groupname} - -" + "d '/var/lib/epgstation/db/migrations/mysql' - ${username} ${groupname} - -" + "d '/var/lib/epgstation/db/migrations/postgres' - ${username} ${groupname} - -" + "d '/var/lib/epgstation/db/migrations/sqlite' - ${username} ${groupname} - -" ]; systemd.services.epgstation = { -- cgit 1.4.1