[Unit] Description=Home Assistant After=network-online.target {{ 'postgresql.service' if hass_db_type == 'postgres' else mysqld.service }} [Service] Type=simple User={{hass_username}} ExecStart={{hass_venv_location}}/bin/hass -c "{{hass_conf_folder}}" [Install] WantedBy=multi-user.target