all-in-one/Containers/notify-push/healthcheck.sh

8 lines
99 B
Bash
Raw Normal View History

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