all-in-one/Containers/talk/healthcheck.sh

8 lines
173 B
Bash
Raw Normal View History

#!/bin/bash
nc -z 127.0.0.1 8081 || exit 1
nc -z 127.0.0.1 8188 || exit 1
nc -z 127.0.0.1 4222 || exit 1
nc -z 127.0.0.1 "$TALK_PORT" || exit 1
eturnalctl status || exit 1