# This is a simple service file for systems with systemd to tun HA as user. # [Unit] Description=Home Assistant for %i After=network.target [Service] Type=simple User=%i # Enable the following line if you get network-related HA errors during boot #ExecStartPre=/usr/bin/sleep 60 ExecStart=/usr/bin/hass SendSIGKILL=no [Install] WantedBy=multi-user.target