summaryrefslogtreecommitdiff
path: root/docker/healthcheck.sh
diff options
context:
space:
mode:
authorJonas Zohren <git-pbkyr@jzohren.de>2022-02-01 23:51:38 +0000
committerJonas Zohren <git-pbkyr@jzohren.de>2022-02-02 13:31:28 +0100
commit9478c75f9dcd040cb9f03deb5ea809f117985de2 (patch)
tree747c64b47a04e246f5e1691868f951d0c5c45739 /docker/healthcheck.sh
parente24d75cffc8f00d526848a93a4e2cfce54bf69a2 (diff)
downloadconduit-9478c75f9dcd040cb9f03deb5ea809f117985de2.zip
Use prebuilt CI-containers from https://gitlab.com/jfowl/conduit-containers
Also run all builds on approved MRs
Diffstat (limited to 'docker/healthcheck.sh')
-rw-r--r--docker/healthcheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/healthcheck.sh b/docker/healthcheck.sh
index df7f18a..42b2e10 100644
--- a/docker/healthcheck.sh
+++ b/docker/healthcheck.sh
@@ -3,7 +3,7 @@
# If the config file does not contain a default port and the CONDUIT_PORT env is not set, create
# try to get port from process list
if [ -z "${CONDUIT_PORT}" ]; then
- CONDUIT_PORT=$(netstat -tlp | grep conduit | grep -m1 -o ':[0-9]*' | grep -m1 -o '[0-9]*')
+ CONDUIT_PORT=$(ss -tlpn | grep conduit | grep -m1 -o ':[0-9]*' | grep -m1 -o '[0-9]*')
fi
# The actual health check.