📎 Add missing copy on postgres upgrade script

This commit is contained in:
Andrey Antukh 2022-11-24 13:38:53 +01:00
parent 99adbbe91d
commit 9593ded808
1 changed files with 2 additions and 0 deletions

View File

@ -24,4 +24,6 @@ pushd /var/lib/postgresql
PGDATA=$PGDATANEW gosu postgres initdb -U penpot --data-checksums
gosu postgres pg_upgrade -U penpot
cp $PGDATAOLD/pg_hba.conf $PGDATANEW/pg_hba.conf
popd