So for all of you that are having issues with the Homebridge docker quitting after X amount of time (most likely due to the harmonyhub plugin). Try this:
Edit the docker
Turn on Advanced
In parameters add:
This should restart the docker if it crashes unexpectedly.
When you referenced :
--restart=unless-exited
Is there any chance that you meant?
--restart=unless-stopped
I attempted your suggestion, however it caused the docker to fail when executing the run command. When I then tried to look the command up online, I couldn't locate it anywhere in the Docker documentation. A little further digging, and I found the "unless-stopped" reference, which sounds quite similar.
Not sure if you've made a typo or I've missed something. But as "unless-stopped" does not cause the docker to crash, I've temporarily set it to that for now (docker runs - no problem), and hopefully it fixes the issue described earlier (so far, so good!)
Request: Homebridge
in Docker Engine
Posted
When you referenced :
--restart=unless-exited
Is there any chance that you meant?
--restart=unless-stopped
I attempted your suggestion, however it caused the docker to fail when executing the run command. When I then tried to look the command up online, I couldn't locate it anywhere in the Docker documentation. A little further digging, and I found the "unless-stopped" reference, which sounds quite similar.
Not sure if you've made a typo or I've missed something. But as "unless-stopped" does not cause the docker to crash, I've temporarily set it to that for now (docker runs - no problem), and hopefully it fixes the issue described earlier (so far, so good!)![:) :)](//content.invisioncic.com/u329766/emoticons/smile.png)