Mercurial > p > roundup > code
annotate scripts/Docker/roundup_healthcheck @ 6825:b04e44db7d8d
Modify unique token to use url safe characters.
Looks like the merge of the methods I chose cause url unsafe / to be
emitted sometimes. This causes poe post to fail as the url includes
the key and the / messes up the rest route url parsing code.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 07 Aug 2022 03:33:35 -0400 |
| parents | a24ec63759f6 |
| children | 7b9bddda9d2d |
| 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 |
|
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
3 tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p') |
|
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
4 wget -q -O /dev/null --no-verbose http://localhost:8080/$tracker/ |
|
a24ec63759f6
Docker fix healthcheck; allow modules; cleanup; set uid
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
5 |
