mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-21 20:46:43 +03:00
Merge a3c94b15b1 into 8e8346099e
This commit is contained in:
commit
0be052cae7
@ -145,6 +145,6 @@ rm -rf /var/lib/apt/lists/*
|
|||||||
|
|
||||||
# Install yq, for frigate-prepare and go2rtc echo source
|
# Install yq, for frigate-prepare and go2rtc echo source
|
||||||
curl -fsSL \
|
curl -fsSL \
|
||||||
"https://github.com/mikefarah/yq/releases/download/v4.33.3/yq_linux_$(dpkg --print-architecture)" \
|
"https://github.com/mikefarah/yq/releases/download/v4.48.2/yq_linux_$(dpkg --print-architecture)" \
|
||||||
--output /usr/local/bin/yq
|
--output /usr/local/bin/yq
|
||||||
chmod +x /usr/local/bin/yq
|
chmod +x /usr/local/bin/yq
|
||||||
|
|||||||
@ -247,7 +247,7 @@ curl -X POST http://frigate_host:5000/api/config/save -d @config.json
|
|||||||
if you'd like you can use your yaml config directly by using [`yq`](https://github.com/mikefarah/yq) to convert it to json:
|
if you'd like you can use your yaml config directly by using [`yq`](https://github.com/mikefarah/yq) to convert it to json:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yq r -j config.yml | curl -X POST http://frigate_host:5000/api/config/save -d @-
|
yq -o=json '.' config.yaml | curl -X POST 'http://frigate_host:5000/api/config/save?save_option=saveonly' --data-binary @-
|
||||||
```
|
```
|
||||||
|
|
||||||
### Via Command Line
|
### Via Command Line
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user