mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 02:40:09 +00:00
15 lines
442 B
Bash
15 lines
442 B
Bash
#!/bin/bash
|
|
|
|
if [ "$AIO_LOG_LEVEL" = 'debug' ]; then
|
|
set -x
|
|
fi
|
|
|
|
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
|
|
# Verify that the signaling server is actually serving requests, not just
|
|
# listening on the TCP port (which nc -z above only tests for open port).
|
|
wget -q -O /dev/null http://127.0.0.1:8081/api/v1/stats || exit 1
|