annotate scripts/Docker/roundup_healthcheck @ 7315:b8e88d4ca95b

Add redis library to docker image; mention xapian is installed Support using redis for session data. xapian has to match the version of xapian libraries installed in the image. So it is nt installed by requirements.txt. Make note in requirements.txt that it is installed.
author John Rouillard <rouilj@ieee.org>
date Thu, 11 May 2023 00:01:15 -0400
parents a24ec63759f6
children 7b9bddda9d2d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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

Roundup Issue Tracker: http://roundup-tracker.org/