Hi. I have HASS installed using this tutorial on raspberry with Jessie. it creates virtualenv and homeassistant user. But HASS has to be started manually.
I tried:
su -c 'cat <> /etc/systemd/system/[email protected]
[Unit]
Description=Home Assistant
After=network.target
[Service]
Type=simple
User=%i
ExecStart=/srv/homeassistant/homeassistant_venv/bin/hass
[Install]
WantedBy=multi-user.target
EOF’
But without success it asks me for a password if run under “homeassistant” or in virtualenv, which I don´t know… How could I set this command? As “pi” or as “homeassistant” or under virtualenv?
Or do you know some other way?