Files
nextcloud/Containers/imaginary/healthcheck.sh
2026-05-11 10:10:26 +00:00

11 lines
214 B
Bash

#!/bin/bash
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH <https://nextcloud.com>
# SPDX-License-Identifier: AGPL-3.0-only
if [ "$AIO_LOG_LEVEL" = 'debug' ]; then
set -x
fi
nc -z 127.0.0.1 "$PORT" || exit 1