Compare commits

..

1 Commits

Author SHA1 Message Date
2a41c22939 Update stalwartlabs/stalwart Docker tag to v0.15.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
lint-test-helm / lint-helm (pull_request) Successful in 12s
2025-12-18 01:55:05 +00:00

View File

@@ -80,13 +80,13 @@ data:
echo ">> Sleeping for changes to take effect";
sleep 5;
HTTP_STATUS=$(curl -i -X GET --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_check.json "${API_ENDPOINT}/app/preferences");
LISTEN_PORT=$(tail -n 1 response_body_check.json | jq -r .listen_port)
echo " ";
echo ">> qBittorrent's post is now: $LISTEN_PORT";
echo ">> Qbittorrent's post is now:";
HTTP_STATUS=$(curl -i -X GET --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_check.json "${API_ENDPOINT}/app/preferences");
if [[ "$HTTP_STATUS" == "200" && "$LISTEN_PORT" == "${1}" ]]; then
LISTEN_PORT=$(cat response_body_check.json | jq -r .listen_port)
[[ "$HTTP_STATUS" == "200" || "$LISTEN_PORT" == "${1}" ]];
echo ">> Port updated successfully!"
else
echo ">> ERROR: HTTP status code: $HTTP_STATUS"