blakeblackshear.frigate/docker/rootfs/etc/s6-overlay/s6-rc.d/frigate/run

15 lines
316 B
Plaintext
Raw Normal View History

#!/command/with-contenv bash
# shellcheck shell=bash
# Start the Frigate service
set -o errexit -o nounset -o pipefail
# Tell S6-Overlay not to restart this service
s6-svc -O .
cd /opt/frigate
# Replace the bash process with the Frigate process, redirecting stderr to stdout
exec 2>&1
exec python3 -u -m frigate