Skip to content

Commit

Permalink
healthcheck at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud committed Feb 19, 2024
1 parent 6acf986 commit e7cb1c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/genenotebook/launch_gnb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,8 @@ while ! grep -q "GeneNoteBook server started, serving" ./gnb.log; do
sleep 3
done;

# Make sure that gnb is working, and that it's serving on the expected port
curl http://127.0.0.1/healthcheck > /dev/null
grep -q "Healthcheck OK" ./gnb.log

echo "GNB is ready"

0 comments on commit e7cb1c7

Please sign in to comment.