diff --git a/ct/silo.sh b/ct/silo.sh index fa24dfb3d..04a9156b0 100644 --- a/ct/silo.sh +++ b/ct/silo.sh @@ -31,12 +31,13 @@ function update_script() { exit fi - if check_for_gh_release "silo" "pgsty/silo"; then + [[ -f ~/.silo ]] && mv ~/.silo ~/.silo_s3 + if check_for_gh_release "silo_s3" "pgsty/silo"; then msg_info "Stopping Silo" systemctl stop silo msg_ok "Stopped Silo" - DPKG_FORCE_CONFOLD=1 fetch_and_deploy_gh_release "silo" "pgsty/silo" "binary" + DPKG_FORCE_CONFOLD=1 fetch_and_deploy_gh_release "silo_s3" "pgsty/silo" "binary" msg_info "Starting Silo" systemctl start silo diff --git a/install/silo-install.sh b/install/silo-install.sh index 812bd645c..f50d5b151 100644 --- a/install/silo-install.sh +++ b/install/silo-install.sh @@ -13,7 +13,7 @@ setting_up_container network_check update_os -fetch_and_deploy_gh_release "silo" "pgsty/silo" "binary" +fetch_and_deploy_gh_release "silo_s3" "pgsty/silo" "binary" msg_info "Configuring Silo" mkdir -p /opt/silo_data