You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789 |
- #!/usr/bin/env bash
-
- SYSPROPS_FILE=${DATADIR}/system.properties
- if [ -f "${SYSPROPS_FILE}" ]; then
- SYSPROPS_PORT=`grep "^unifi.https.port=" ${SYSPROPS_FILE} | cut -d'=' -f2`
- fi
- PORT=${SYSPROPS_PORT:-8443}
-
- curl --max-time 5 -kILs --fail https://localhost:${PORT}
|