Skip to content

Commit

Permalink
remove this
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Feb 20, 2025
1 parent 6334390 commit 99f9467
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions update_scripts/25.2.20/pre_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,3 @@ if [ "$is_valid" != "$min_version" ]; then
fi

echo "Version check passed: $current_version"



LEADER_HOSTNAME=$(crudini --get /home/pioreactor/.pioreactor/config.ini cluster.topology leader_hostname)


# we need this config for downstream updates, so set it now.
if [ "$HOSTNAME" = "$LEADER_HOSTNAME" ]; then

crudini --set /home/pioreactor/.pioreactor/config.ini storage temporary_cache /tmp/pioreactor_cache/local_intermittent_pioreactor_metadata.sqlite \
--set /home/pioreactor/.pioreactor/config.ini storage persistent_cache /home/pioreactor/.pioreactor/storage/local_persistent_pioreactor_metadata.sqlite

sudo -u pioreactor pios sync-configs --shared || :


fi

0 comments on commit 99f9467

Please sign in to comment.