comparison launch_gnb.sh @ 11:4398a6fea625 draft default tip

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/genenotebook commit 6b276b84437470f019a6b13a7bd17171c117cece
author gga
date Mon, 01 Jul 2024 08:44:45 +0000
parents a0358a5ab3ae
children
comparison
equal deleted inserted replaced
10:a0358a5ab3ae 11:4398a6fea625
15 # "Listening on" is for mongodb 5x 15 # "Listening on" is for mongodb 5x
16 while ! grep -q "Listening on" ./mongod.log; do 16 while ! grep -q "Listening on" ./mongod.log; do
17 17
18 tries=$((tries + 1)) 18 tries=$((tries + 1))
19 19
20 if [ "$tries" -ge 30 ]; then 20 if [ "$tries" -ge 50 ]; then
21 echo "Failed to launch MongoDB:" 1>&2; 21 echo "Failed to launch MongoDB:" 1>&2;
22 cat ./mongod.log 1>&2; 22 cat ./mongod.log 1>&2;
23 exit 1; 23 exit 1;
24 fi 24 fi
25 25
26 sleep 3 26 sleep 5
27 done; 27 done;
28 28
29 TMP_STORAGE=$(pwd)/tmp_storage 29 TMP_STORAGE=$(pwd)/tmp_storage
30 mkdir "$TMP_STORAGE" 30 mkdir "$TMP_STORAGE"
31 31