frigate: mount /tmp/cache as tmpfs
This commit is contained in:
parent
9a5f427580
commit
8e7e7fc4d4
@ -102,6 +102,11 @@ in
|
||||
LoadCredential = [ "secrets.env:${cfg.secretsEnv}" ];
|
||||
};
|
||||
};
|
||||
frigate.serviceConfig = {
|
||||
PrivateTmp = true;
|
||||
ExecStartPre = [ "${pkgs.coreutils}/bin/install --owner=frigate --group=frigate -d /tmp/cache" ];
|
||||
TemporaryFileSystem = "/tmp/cache:size=1G";
|
||||
};
|
||||
};
|
||||
|
||||
services.go2rtc = {
|
||||
|
Loading…
Reference in New Issue
Block a user