r/homeassistant: Wait for network to start
Although Home Assistant itself will start fine if the network is not yet available, some integrations will not. Notably, the Matrix integration will fail to load if it cannot contact the homeserver when it is first initialized. To avoid this problem, we can just delay starting Home Assistant until the network is available.ntfy
parent
1f9e13a33b
commit
6f9ff86788
|
@ -1,6 +1,8 @@
|
|||
# vim: set ft=systemd :
|
||||
[Unit]
|
||||
Description=Home Assistant
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
|
|
Loading…
Reference in New Issue