mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
234 B
11 lines
234 B
8 years ago
|
#!/bin/sh
|
||
|
|
||
|
while true; do
|
||
|
COUNT_PG=`psql --dbname=postgresql://sapl:sapl@sapldb/sapl -c '\l \q' | grep sapl | wc -l`
|
||
|
if ! [ "$COUNT_PG" -eq "0" ]; then
|
||
|
break
|
||
|
fi
|
||
|
echo "Esperando Database Setup"
|
||
|
sleep 10
|
||
|
done
|