Skip to content

Commit

Permalink
fix: adding download binaries to the docker start script so it will a…
Browse files Browse the repository at this point in the history
…lways download the binaries if they don't exist that way we can update node without doing anything but restarting
  • Loading branch information
gzukel committed Mar 13, 2024
1 parent 67b6a9c commit e40c649
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/docker-scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit e40c649

Please sign in to comment.