I am thinking in playing with systemd's option to Restart=on_failure with a RestartSec=60 and TimeoutStartSec=240. I am not sure if it works.
I running HASS on a Raspberry so the file that needs to be modified is /etc/systemd/system/home-assistant.service.
Is this a good option?
@elRadix thank you. I was not aware of the tool. I presume you’re using a number of scripts. It would be useful for other new users to post the step by step implementation.