Skip to content

Commit 51b30b7

Browse files
authored
chore: don't persist supautils.conf across upgrades (#946)
1 parent d19ff5a commit 51b30b7

File tree

1 file changed

+2
-0
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+2
-0
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ EOF
306306
echo "11. Copying custom configurations"
307307
mkdir -p "$MOUNT_POINT/conf"
308308
cp -R /etc/postgresql-custom/* "$MOUNT_POINT/conf/"
309+
# removing supautils config as to allow the latest one provided by the latest image to be used
310+
rm -f "$MOUNT_POINT/conf/supautils.conf" || true
309311

310312
# removing wal-g config as to allow it to be explicitly enabled on the new instance
311313
rm -f "$MOUNT_POINT/conf/wal-g.conf"

0 commit comments

Comments
 (0)