mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
f4187d6b83
* Reduce amount layers of the docker image * Fix models file name
14 lines
361 B
Plaintext
Executable File
14 lines
361 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
# shellcheck shell=bash
|
|
|
|
# https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425?permalink_comment_id=3945021
|
|
set -euo pipefail
|
|
|
|
if [[ -f "/config/frigate-go2rtc.yaml" ]]; then
|
|
config_path="/config/frigate-go2rtc.yaml"
|
|
else
|
|
config_path="/usr/local/go2rtc/go2rtc.yaml"
|
|
fi
|
|
|
|
exec go2rtc -config="${config_path}"
|