Skip to content

Commit

Permalink
chore: simplify healthcheck script (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Apr 12, 2022
1 parent 5c17722 commit 8789e3b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions overlay/usr/bin/healthcheck
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
set -eo pipefail

URL=http://127.0.0.1:3000

wget --quiet --tries=1 --spider ${URL}
[ $? -ne 0 ] && exit 1
wget --quiet --tries=1 --spider ${URL} || exit 1

exit 0

0 comments on commit 8789e3b

Please sign in to comment.