Skip to content

Commit

Permalink
fix grep for postgres success
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmarkle committed Sep 17, 2019
1 parent 14403ef commit add1396
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prod_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ echo "Removing env vars from memory"
unset -v POSTGRESQL_ADMIN_PASSWORD

#Show container environment
sleep 5 && docker ps
sleep 1 && docker ps

echo "Waiting for Syncurity Service to come up..."
docker logs syncurity_postgresql


# while not docker logs metabase_web | grep
until [[ $(docker logs syncurity_postgresql | grep COMPLETE) ]]; do
echo "$(docker logs syncurity_postgresql | grep COMPLETE)"
done
# until [[ $(docker logs syncurity_postgresql | grep "Starting server...") ]]; do
# echo "$(docker logs syncurity_postgresql | grep "Starting server...")"
# done

echo "Complete"

0 comments on commit add1396

Please sign in to comment.