mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-30 19:09:13 +01:00
12 lines
257 B
Plaintext
12 lines
257 B
Plaintext
|
#!/command/with-contenv bash
|
||
|
# shellcheck shell=bash
|
||
|
# Start the Frigate service
|
||
|
|
||
|
set -o errexit -o nounset -o pipefail
|
||
|
|
||
|
cd /opt/frigate
|
||
|
|
||
|
# Replace the bash process with the Frigate process, redirecting stderr to stdout
|
||
|
exec 2>&1
|
||
|
exec python3 -u -m frigate
|