frigate/docker/rootfs/etc/services.d/go2rtc/run
2022-10-26 10:41:48 -06:00

6 lines
212 B
Bash

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