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.
This commit is contained in:
2022-08-12 16:24:28 -05:00
parent dbc18022f2
commit 0de1f84905

View File

@@ -1,5 +1,7 @@
[Unit]
Description=Frigate
Wants=network-online.target
After=network-online.target
[Service]
Type=notify