mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-16 20:14:39 +08:00
904d23147c
Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: Zoey <zoey@z0ey.de>
6 lines
157 B
Bash
6 lines
157 B
Bash
#!/bin/bash
|
|
|
|
nc -z "$NEXTCLOUD_HOST" 9000 || exit 0
|
|
nc -z localhost 8000 || exit 1
|
|
nc -z localhost "$APACHE_PORT" || exit 1
|
|
nc -z "$NC_DOMAIN" 443 || exit 1
|