diff --git a/docker/rootfs/etc/services.d/go2rtc/run b/docker/rootfs/etc/services.d/go2rtc/run index 82895b316..a56ca7883 100644 --- a/docker/rootfs/etc/services.d/go2rtc/run +++ b/docker/rootfs/etc/services.d/go2rtc/run @@ -1,6 +1,6 @@ -#!/usr/bin/execlineb -P -if [ -f "/config/go2rtc.yaml" ]; then - /usr/local/go2rtc/sbin/go2rtc -config=/config/go2rtc.yaml +#!/bin/bash +if [ -f "/config/frigate-go2rtc.yaml" ]; then + /usr/local/go2rtc/sbin/go2rtc -config=/config/frigate-go2rtc.yaml else /usr/local/go2rtc/sbin/go2rtc -config=/usr/local/go2rtc/sbin/go2rtc.yaml fi \ No newline at end of file