view scripts/Docker/roundup_healthcheck @ 7377:d6c688fee3e7

Bump codecov/codecov-action from 3.1.3 to 3.1.4 - https://github.com/roundup-tracker/roundup/pull/31
author John Rouillard <rouilj@ieee.org>
date Mon, 22 May 2023 08:36:55 -0400
parents 7b9bddda9d2d
children cae50e4ba467
line wrap: on
line source

#! /bin/sh

# if there are multiple trackers, d=demo t=tracker ...
# returns last one for testing that server is up. Does not test
# each tracker.
tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p')
wget -q -O /dev/null --no-verbose http://localhost:8080/${tracker:-demo}/

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