mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 10:50:10 +00:00
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user