This commit is contained in:
WJQSERVER 2024-11-05 11:28:11 +08:00
parent d9cc088dce
commit b6c4dbbf9c
2 changed files with 7 additions and 1 deletions

View file

@ -22,7 +22,11 @@ fi
/data/${APPLICATON}/${APPLICATON} > /data/${APPLICATON}/log/run.log 2>&1 &
sleep 30
while [[ true ]]; do
sleep 1
# 健康检查
curl -f http://localhost:8080/api/healthcheck || exit 1
sleep 120
done