Hass location on hassbian

Where is the hass location on the Hassbian Pi image install. I want to restart the service for Home Assistant but can not find the service or location to run hass script checks from. I have been doing reboots but that is no good and I can’t script check.

The command:
```whereis hass`
Is not showing the location? Confused!?

I don’t use that install, but try find / -name hass

Try homeassistant .

I got it from @dale3h he reminded me to use the search/find then recommended using sudo ls -al /etc/systemd/system and I found it then he pointed me to a script to use hssctl to get the use of hass to restart my HA instance. :relieved:

HA on Hassbian is installed in a Venv at /srv/homeassistant.

###To update Ha on Hassbian
Log in as the pi account

sudo systemctl stop home-assistant.service
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
pip3 install --upgrade homeassistant
sudo systemctl start home-assistant.service

###To start/stop/restart Ha on Hassbian
Log in as the pi account

sudo systemctl stop home-assistant.service

Replace stop with start/restart to get the required functionality.

###Check your configuration on Hassbian
Log in as the pi account

sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
hass --script check_config
2 Likes

@Landrash
I forgot to say
“Thanks!”