[Unit] Description=Home Assistant After=network.target postgresql.service [Service] Type=simple User={{ ha_user }} Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:{{ ha_venv_dir }}/bin" ExecStart={{ ha_venv_dir }}/bin/hass --config {{ ha_conf_dir }} Restart=always RestartSec=3 [Install] WantedBy=multi-user.target