mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-31 07:50:08 +00:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
17 lines
422 B
Bash
17 lines
422 B
Bash
#!/bin/bash
|
|
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH <https://nextcloud.com>
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
if [ "$AIO_LOG_LEVEL" = 'debug' ]; then
|
|
set -x
|
|
fi
|
|
|
|
if [ -f "/mnt/docker-aio-config/data/configuration.json" ]; then
|
|
nc -z 127.0.0.1 80 || exit 1
|
|
nc -z 127.0.0.1 8080 || exit 1
|
|
nc -z 127.0.0.1 8443 || exit 1
|
|
test -S /run/php.sock || exit 1
|
|
nc -z 127.0.0.1 9876 || exit 1
|
|
fi
|