Mercurial > p > roundup > code
annotate scripts/Docker/roundup_healthcheck @ 8506:b6c6891754e9
bug: fix mis-commit of perf tests and crash fix for setTranslation
The commit included more than it should have.
It included some memory dump code that is not part of production.
Also removed WIP for fixing crash bug when translation unable to
create .mo file - issue2551405
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 25 Dec 2025 12:14:53 -0500 |
| parents | 8a9fc2d74740 |
| children |
| rev | line source |
|---|---|
|
6797
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
1 #! /bin/sh |
|
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
2 |
|
8467
8a9fc2d74740
fix: replace localhost with ip address in case localhost is ipv6 addr??
John Rouillard <rouilj@ieee.org>
parents:
7681
diff
changeset
|
3 # change this if you are not using |
|
8a9fc2d74740
fix: replace localhost with ip address in case localhost is ipv6 addr??
John Rouillard <rouilj@ieee.org>
parents:
7681
diff
changeset
|
4 localhost=127.0.0.1 |
|
8a9fc2d74740
fix: replace localhost with ip address in case localhost is ipv6 addr??
John Rouillard <rouilj@ieee.org>
parents:
7681
diff
changeset
|
5 |
|
7340
7b9bddda9d2d
Add support for demo mode in docker.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
6 # if there are multiple trackers, d=demo t=tracker ... |
|
7b9bddda9d2d
Add support for demo mode in docker.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
7 # returns last one for testing that server is up. Does not test |
|
7b9bddda9d2d
Add support for demo mode in docker.
John Rouillard <rouilj@ieee.org>
parents:
6797
diff
changeset
|
8 # each tracker. |
|
6797
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
9 tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p') |
|
8467
8a9fc2d74740
fix: replace localhost with ip address in case localhost is ipv6 addr??
John Rouillard <rouilj@ieee.org>
parents:
7681
diff
changeset
|
10 wget -q -O /dev/null --proxy off --no-verbose http://$localhost:8080/"${tracker:-demo}"/ |
