all-in-one/Containers/notify-push/healthcheck.sh
Simon L f82affdac6 adjust limiting the php-fpm port to specific containers again
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-09-29 19:15:51 +02:00

7 lines
99 B
Bash

#!/bin/bash
if ! nc -z "$NEXTCLOUD_HOST" 9001; then
exit 0
fi
nc -z localhost 7867 || exit 1