-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addon should auto restart #224
Comments
For the time being I created a systemd service with a python script that monitors the docker add-on logs and restart it on a supervised installation : You can set it up with that bash script (thanks chatgpt) :
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got those errors last night after a brief electricity shortage :
2024-11-16 23:54:18,280 - Starting tydom2mqtt - I restarted manually and no issue after that.
The add-on should crash on error to allow HA to reboot it, or reboot itself, otherwise it's not solid. On the original mrwiwi version the add-on rebooted itself (forever.py rebooted the main script after a crash), IMHO it was a lot more resilient (but it's not working anymore)
Could you please allow the add-on to reboot itself after 2 errors for example ?
Thanks in advance and for the good work !
The text was updated successfully, but these errors were encountered: