A silly question, I installed HA following manual installation.
I did some changes to the yaml config and wanted to restart the service, which I was not able to do.
[email protected]:~ $ sudo service hass-daemon restart
Failed to restart hass-daemon.service: Unit hass-daemon.service not found.
[email protected]:~ $ sudo systemctl restart home-assistant.service
Failed to restart home-assistant.service: Unit home-assistant.service not found.
[email protected]:~ $
So I decided to reboot raspberry and now I cannot understand how to start HA after pi is rebooted.
This commands helped me, but looks like it just reinstalled or reset the config file:
$ sudo su -s /bin/bash homeassistant
$ cd /srv/homeassistant
$ python3 -m venv .
$ source bin/activate
(homeassistant) $ hass
I am a complete noob in linux and feels like I am doing something wrong. Can you give me a hint please, how to restart HA and how to start it if pi is rebooted.