Add temp dir to transfer.sh
ci / test (push) Failing after 37s Details
ci / deploy (push) Has been skipped Details

This commit is contained in:
ciapa 2024-04-11 20:13:33 +00:00
parent 2716a5597e
commit 64ca121790
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, lib, ... }:
{ {
networking.firewall.allowedTCPPorts = [ ]; networking.firewall.allowedTCPPorts = [ ];
services.transfer-sh = { services.transfer-sh = {
@ -12,4 +12,8 @@
PURGE_DAYS = "90"; PURGE_DAYS = "90";
}; };
}; };
systemd.services.transfer-sh.serviceConfig.ReadWritePaths = lib.mkForce [
"/mnt/data/transfer-sh/temp"
"/mnt/data/transfer-sh/store"
];
} }