frigate: fix /tmp/cache permissions
This commit is contained in:
@@ -104,8 +104,8 @@ in
|
|||||||
};
|
};
|
||||||
frigate.serviceConfig = {
|
frigate.serviceConfig = {
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
ExecStartPre = [ "${pkgs.coreutils}/bin/install --owner=frigate --group=frigate -d /tmp/cache" ];
|
ExecStartPre = [ "${pkgs.coreutils}/bin/install -m 0777 -d /tmp/cache" ];
|
||||||
TemporaryFileSystem = "/tmp/cache:size=1G";
|
TemporaryFileSystem = "/tmp/cache:size=1G,mode=0777";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user