r/frigate: Wait for network before starting service
Frigate needs to be able to connect to the MQTT immediately upon start up or it will crash. Ordering the *frigate.service* unit after *network-online.target* will help ensure Frigate starts when the system boots.btop
parent
dbc18022f2
commit
0de1f84905
|
@ -1,5 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Frigate
|
Description=Frigate
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=notify
|
||||||
|
|
Loading…
Reference in New Issue