all-in-one/Containers/nextcloud/healthcheck.sh
Simon L dd053182f9 ffix nextcloud health check
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-15 16:12:36 +02:00

7 lines
98 B
Bash

#!/bin/bash
nc -z "$POSTGRES_HOST" 5432 || exit 0
if ! nc -z localhost 9000; then
exit 1
fi