I want to start homeassistant on startup or via shellscript. For some reason the run stops after the first command. Any help?
#!/bin/bash
sudo -u homeassistant -H -s
cd /srv/homeassistant
source bin/activate
hass
$SHELL
It just executes the first line and stops, no feedback on the commandline.