From 899ba2e9e3bdb54a27865fb99dac51039915be88 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Tue, 20 Oct 2026 12:12:37 +0200 Subject: [PATCH] Silo: keep the version file out of ~/.silo (#18030) Since 20261018 Silo uses ~/.silo as its config directory and stops when that path is a file, which the version file named after the app was. Update moves an existing file to ~/.silo_s3. --- ct/silo.sh | 5 +++-- install/silo-install.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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