all-in-one/Containers/notify-push/healthcheck.sh
Simon L. 414716e279 use 127.0.0.1 instead of localhost
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-05-28 17:24:28 +02:00

7 lines
99 B
Bash

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