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
Dustin 2022-08-12 16:24:28 -05:00
parent dbc18022f2
commit 0de1f84905
1 changed files with 2 additions and 0 deletions

View File

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