Rebase to 3.18 (nightly)

This commit is contained in:
TheSpad
2023-06-06 15:07:57 +01:00
parent 974910a4d3
commit 3474502db2
9 changed files with 30 additions and 114 deletions

View File

@@ -1,6 +1,8 @@
#!/bin/bash
if [[ $(curl -sL "http://localhost:7878/ping" | jq -r '.status' 2>/dev/null) = "OK" ]]; then
PORT=$(xmlstarlet sel -T -t -v /Config/Port /config/config.xml)
if [[ $(curl -sL "http://localhost:${PORT:-7878}/ping" | jq -r '.status' 2>/dev/null) = "OK" ]]; then
exit 0
else
exit 1