diff --git a/roles/homeassistant/templates/homeassistant.service.j2 b/roles/homeassistant/templates/homeassistant.service.j2 index febe411..4a527e7 100644 --- a/roles/homeassistant/templates/homeassistant.service.j2 +++ b/roles/homeassistant/templates/homeassistant.service.j2 @@ -1,6 +1,8 @@ # vim: set ft=systemd : [Unit] Description=Home Assistant +After=network-online.target +Wants=network-online.target [Service] Type=notify