#!/command/with-contenv bashio # ============================================================================== # Runs go2rtc # ============================================================================== # shellcheck shell=bash bashio::log.info 'Starting go2rtc...' declare config_path if [[ -f "/config/frigate-go2rtc.yaml" ]]; then config_path="/config/frigate-go2rtc.yaml" else config_path="/usr/local/go2rtc/sbin/go2rtc.yaml" fi exec go2rtc -config="$config_path"