File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,13 +8,15 @@ services:
88 while [ ! -f /var/fdb/fdb.cluster ]; do
99 sleep 0.1
1010 done
11- echo "creating the database"
12- if ! fdbcli --exec "configure new single ssd ; status" --timeout 10 ; then
13- echo "Unable to configure new FDB cluster."
14- exit 1
15- elif ! fdbcli --exec "configure single ssd ; status" --timeout 10 ; then
16- echo "Unable to configure existing FDB cluster."
17- exit 1
11+ if ! fdbcli --exec status --timeout 3 ; then
12+ echo "creating the database"
13+ if ! fdbcli --exec "configure new single ssd ; status" --timeout 10 ; then
14+ echo "Unable to configure new FDB cluster."
15+ exit 1
16+ elif ! fdbcli --exec "configure single ssd ; status" --timeout 10 ; then
17+ echo "Unable to configure existing FDB cluster."
18+ exit 1
19+ fi
1820 fi
1921 '
2022 f8n :
You can’t perform that action at this time.
0 commit comments