I’m wondering whether it was just never added, or is no longer a valid configuration variable, and if it is valid, whether it works on multicontainer deploys.
Hi, all the valid configuration values are available here https://www.balena.io/docs/learn/manage/configuration/#variable-list. So RESIN_APP_RESTART_RETRIES is no longer valid. I did look to see when this was updated and looks like it was removed in the update to multicontainer.
Hello, unfortunately there’s balena supported approach for this exactly. If not restarting containers at all is an acceptable solution, then you could use the “no” option for restart policy: https://docs.docker.com/compose/compose-file/#restart This is an area that will be looked at relatively soon though, and so there may be a better solution in the future.