Skip to content

Commit

Permalink
Use Linux-compatible sleep command for db container
Browse files Browse the repository at this point in the history
  • Loading branch information
hkdobrev committed Jun 22, 2021
1 parent b28a762 commit 165dfcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start-dev-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "echo stop & remove old docker [$SERVER] and starting new fresh instance of

# wait for pg to start
echo "sleep wait for pg-server [$SERVER] to start";
SLEEP 10;
sleep 10;

# create the db
echo "CREATE DATABASE $DATABASE_NAME ENCODING 'UTF-8';" | docker exec -i $SERVER psql -U postgres
Expand Down

0 comments on commit 165dfcc

Please sign in to comment.