Files
nextcloud/Containers/notify-push/healthcheck.sh
2023-09-29 19:15:51 +02:00

8 lines
99 B
Bash

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