dsp - fix healthcheck

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-08-31 12:31:36 +02:00
parent de551e3ec3
commit 8cb1d413f8

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
nc -z "$NEXTCLOUD_HOST" 9000 || exit 0 nc -z "$NEXTCLOUD_HOST" 9000 || exit 0
if [ "$(wget http://127.0.0.1:2375/v1.41/_ping -qO -)" != "OK" ]; then if ! nc -z localhost 2375; then
exit 1 exit 1
fi fi