mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
try maxtime
This commit is contained in:
parent
676102c940
commit
4f44cfa1a0
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,7 @@ while read -r key value; do
|
|||
done | jq -s add | jq -c .)
|
||||
|
||||
echo "Start to install $appname"
|
||||
api_url="$public_ip/api/apps/install"
|
||||
api_url="localhost/api/apps/install"
|
||||
api_key=$(sudo docker exec -i websoft9-apphub apphub getconfig --section api_key --key key)
|
||||
request_param=$(jq -n \
|
||||
--arg app_name "$appname" \
|
||||
|
@ -163,6 +163,7 @@ if [ "$http_code" -eq 200 ]; then
|
|||
result=$(sudo docker ps -a | grep "$appid")
|
||||
if [[ -n "$result" ]]; then
|
||||
echo "Found appid in docker processes."
|
||||
docker ps -a | grep "$appid"
|
||||
break
|
||||
else
|
||||
echo "Appid not found, waiting for 5 seconds..."
|
||||
|
|
Loading…
Reference in a new issue