mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
15 lines
No EOL
244 B
Bash
15 lines
No EOL
244 B
Bash
#!/bin/bash
|
|
|
|
./dbench start &
|
|
|
|
while ! [[ $i == 20 ]]
|
|
do
|
|
output=$( curl "http://localhost:8000" )
|
|
{ echo "Exit status of curl: $?"
|
|
} 1>&2
|
|
sleep 2
|
|
i=$((i + 1))
|
|
done
|
|
|
|
|
|
echo "${output}" | grep '<title> Login </title>' || exit 1 |