Files
nextcloud/Containers/whiteboard/healthcheck.sh
2026-04-24 10:35:18 +02:00

9 lines
143 B
Bash

#!/bin/bash
if [ "$AIO_LOG_LEVEL" = 'debug' ]; then
set -x
fi
nc -z "$REDIS_HOST" "$REDIS_PORT" || exit 0
nc -z 127.0.0.1 3002 || exit 1