frigate: substitute more paths
Fixes the error image for unreachable cameras, the idle image for the birdseye view and fix cache path in old clip removal function.
This commit is contained in:
parent
82c2abdc50
commit
d55cec42d1
|
@ -94,6 +94,16 @@ python.pkgs.buildPythonApplication rec {
|
||||||
--replace "/media/frigate" "/var/lib/frigate" \
|
--replace "/media/frigate" "/var/lib/frigate" \
|
||||||
--replace "/tmp/cache" "/var/cache/frigate"
|
--replace "/tmp/cache" "/var/cache/frigate"
|
||||||
|
|
||||||
|
substituteInPlace frigate/http.py \
|
||||||
|
--replace "/opt/frigate" "${placeholder "out"}/${python.sitePackages}" \
|
||||||
|
--replace "/tmp/cache/" "/var/cache/frigate"
|
||||||
|
|
||||||
|
substituteInPlace frigate/output.py \
|
||||||
|
--replace "/opt/frigate" "${placeholder "out"}/${python.sitePackages}"
|
||||||
|
|
||||||
|
substituteInPlace frigate/record.py \
|
||||||
|
--replace "/tmp/cache" "/var/cache/frigate"
|
||||||
|
|
||||||
substituteInPlace frigate/detectors/detector_config.py \
|
substituteInPlace frigate/detectors/detector_config.py \
|
||||||
--replace "/labelmap.txt" "${placeholder "out"}/share/frigate/labelmap.txt"
|
--replace "/labelmap.txt" "${placeholder "out"}/share/frigate/labelmap.txt"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue