One last thing I can think of…check the very last section of this page:
If you want to restart the Home Assistant service automatically after a crash, add the following lines to the [Service]
section of your unit file (mine is /etc/systemd/system/hass.service
):
Restart=on-failure
RestartSec=5s