frigate/docker/rootfs/etc/services.d/go2rtc/run

6 lines
214 B
Plaintext
Raw Normal View History

2022-10-26 19:41:48 +03:00
#!/bin/bash
if [[ -f "/config/frigate-go2rtc.yaml" ]]; then
2022-10-26 19:41:48 +03:00
/usr/local/go2rtc/sbin/go2rtc -config=/config/frigate-go2rtc.yaml
2022-10-26 19:30:00 +03:00
else
/usr/local/go2rtc/sbin/go2rtc -config=/usr/local/go2rtc/sbin/go2rtc.yaml
fi