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.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# vim: set ft=systemd :
|
||||
[Unit]
|
||||
Description=Home Assistant
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
|
||||
Reference in New Issue
Block a user