Unverified Commit a74a2388 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

nixos/frigate: create model cache dir

In 0.15.1 frigate has a logic error that makes it not ensure the model
cache dir exists before using it.

A workaround has been committed for newer versions, so we can drop this
on the next release.

Fixes: #402813
parent 963bb20b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -669,7 +669,11 @@ in

        # Caches
        PrivateTmp = true;
        CacheDirectory = "frigate";
        CacheDirectory = [
          "frigate"
          # https://github.com/blakeblackshear/frigate/discussions/18129
          "frigate/model_cache"
        ];
        CacheDirectoryMode = "0750";

        # Sockets/IPC