mirror of
https://gh.llkk.cc/https://github.com/WeblateOrg/scripts.git
synced 2025-10-03 15:01:00 +08:00
migrate: Wait for database
This commit is contained in:
parent
b4dff2d4ff
commit
ce36dd0485
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ systemctl stop postgresql
|
|||
|
||||
cd "$WEBLATE_DOCKER"
|
||||
docker compose up -d database --wait
|
||||
sleep 60
|
||||
docker compose exec -T database psql --username weblate --dbname postgres < "$WEBLATE_HOME/weblate.sql"
|
||||
|
||||
# Move redis data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue