all-in-one/Containers/docker-socket-proxy/healthcheck.sh
Simon L a56fbb6045 address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-30 15:13:08 +02:00

6 lines
137 B
Bash

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