all-in-one/Containers/apache/healthcheck.sh
Simon L. 81dd6bbc72 apache-healthcheck: remove the domain test
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-06 11:25:09 +01:00

5 lines
124 B
Bash

#!/bin/bash
nc -z "$NEXTCLOUD_HOST" 9000 || exit 0
nc -z 127.0.0.1 8000 || exit 1
nc -z 127.0.0.1 "$APACHE_PORT" || exit 1