diff --git a/templates/etc/systemd/system/homeassistant.service.j2 b/templates/etc/systemd/system/homeassistant.service.j2 index 070fbcf..d851dcb 100644 --- a/templates/etc/systemd/system/homeassistant.service.j2 +++ b/templates/etc/systemd/system/homeassistant.service.j2 @@ -7,7 +7,7 @@ After=network-online.target [Service] Type=simple User=homeassistant -ExecStart={{ homeassistant_base_dir }}/env/bin/hass -c {{ homeassistant_conf_dir }} +ExecStart={{ homeassistant_base_dir }}/venv/bin/hass -c {{ homeassistant_conf_dir }} Restart=on-failure RestartSec=5s