frigate/docker/rootfs/etc/services.d/frigate/run
2022-12-07 08:03:21 -07:00

11 lines
239 B
Bash
Executable File

#!/bin/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