Add temp dir to transfer.sh
This commit is contained in:
parent
2716a5597e
commit
64ca121790
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [ ];
|
||||
services.transfer-sh = {
|
||||
|
@ -12,4 +12,8 @@
|
|||
PURGE_DAYS = "90";
|
||||
};
|
||||
};
|
||||
systemd.services.transfer-sh.serviceConfig.ReadWritePaths = lib.mkForce [
|
||||
"/mnt/data/transfer-sh/temp"
|
||||
"/mnt/data/transfer-sh/store"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue