Set Boot Up Automatically

After setting up the self-start, you can open http://localhost:8123 and go directly to Home Assistant. The setup steps are as follows.

  1. Virtual environment installation.

If your Home Assistant is running in a Python virtual environment, please use the following methods:

sudo nano -w /etc/systemd/system/home-assistant@homeassistant.service

copy and paste.

Description=Home Assistant

ExecStart=/srv/homeassistant/bin/hass -c "/home/homeassistant/.homeassistant"


Save and exit: Ctrl+ X, Y, Enter.

  1. Start self-boot service:

# Reload process management

sudo systemctl --system daemon-reload
  1. Enable service:

# Enable Service

sudo systemctl enable home-assistant@homeassistant
  1. Restart Home Assistant.

sudo systemctl restart home-assistant@homeassistant


The home-assistant@account_name in the command, account_name is set in Create an account. If you don’t change it, then the default account_name is homeassistant.