mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
Update create_config.py
Add persistent config of go2rtc.yaml
This commit is contained in:
parent
d7ae0eedf8
commit
6aa760e572
@ -163,6 +163,6 @@ if config.get("birdseye", {}).get("restream", False):
|
|||||||
else:
|
else:
|
||||||
go2rtc_config["streams"] = {"birdseye": ffmpeg_cmd}
|
go2rtc_config["streams"] = {"birdseye": ffmpeg_cmd}
|
||||||
|
|
||||||
# Write go2rtc_config to /dev/shm/go2rtc.yaml
|
# Write go2rtc_config to /config/go2rtc.yaml
|
||||||
with open("/dev/shm/go2rtc.yaml", "w") as f:
|
with open("/config/go2rtc.yaml", "w") as f:
|
||||||
yaml.dump(go2rtc_config, f)
|
yaml.dump(go2rtc_config, f)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user