Mercurial > p > roundup > code
annotate scripts/Docker/roundup_healthcheck @ 8478:ed4ef394d5d6
doc: initial attempt to document setup of pgp support for email.
Used an AI assistant to help write this. Basic gpg commands seem to
work, but I have not tested this totally. Docs basically follow the
setup used for pgp testing in the test suite.
It looks like roundup accepts signed emails as well as encrypted
and signed emails. But it does not generate signed emails.
Also it looks like there is no PGP support for alternate email
addresses. Only primary addresses can do PGP emails.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 15 Nov 2025 16:59:24 -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}"/ |
