mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 11:35:56 +08:00
e6af640871
Signed-off-by: Simon L <szaimen@e.mail.de>
11 lines
288 B
Bash
11 lines
288 B
Bash
#!/bin/bash
|
|
|
|
nc -z localhost 8081 || exit 1
|
|
nc -z localhost 8188 || exit 1
|
|
nc -z localhost 4222 || exit 1
|
|
nc -z localhost "$TALK_PORT" || exit 1
|
|
eturnalctl status || exit 1
|
|
if ! nc -z "$NC_DOMAIN" "$TALK_PORT"; then
|
|
echo "Could not reach $NC_DOMAIN on port $TALK_PORT."
|
|
exit 1
|
|
fi
|