#!/bin/bash
#softlib.service.ucloud.cn/usa/pangu3_axe/update-upangu-axe.sh

supervisorctl status
supervisorctl stop upangu-axe

wget -q softlib.service.ucloud.cn/usa/pangu3_axe/upangu-axe_v1.4.2-release -O /opt/upangu/upangu-axe || echo wget Failure

supervisorctl start upangu-axe
supervisorctl status

curl -s localhost:15101/agent/manage/healthz | tee | jq .data.version

