From e40c6491dc6332ee1f8802a8c28938239886d07e Mon Sep 17 00:00:00 2001 From: Grant Zukel Date: Wed, 13 Mar 2024 17:28:19 -0600 Subject: [PATCH] fix: adding download binaries to the docker start script so it will always download the binaries if they don't exist that way we can update node without doing anything but restarting --- contrib/docker-scripts/start.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/docker-scripts/start.sh b/contrib/docker-scripts/start.sh index a05298fc92..d60f131c2c 100644 --- a/contrib/docker-scripts/start.sh +++ b/contrib/docker-scripts/start.sh @@ -250,6 +250,12 @@ load_defaults if [[ -f "${DAEMON_HOME}/start_sequence_status" ]] && grep -q "START_SEQUENCE_COMPLETE" "${DAEMON_HOME}/start_sequence_status" && [[ "$RE_DO_START_SEQUENCE" != "true" ]]; then logt "The start sequence is complete and no redo is required." + logt "Download Configs" + download_configs + + logt "Download Historical Binaries" + download_binary_version + if [ "${RESTORE_TYPE}" == "statesync" ]; then logt "Setup Restore Type: ${RESTORE_TYPE}" logt "During restarts, we re-do this to ensure to update the configs with valid values. When you call change config the stuff that gets set in this function for statesync needs to be set. Doesn't effect to re-set this."