all-in-one/Containers/notify-push/healthcheck.sh
Simon L 60a692ae46 ntofiy-push - improve healthcheck
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-18 21:21:24 +02:00

7 lines
99 B
Bash

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