Files
nextcloud/Containers/notify-push/healthcheck.sh
2026-04-24 10:35:17 +02:00

12 lines
154 B
Bash

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