mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix yuno_portal
This commit is contained in:
parent
2a8d415ac1
commit
f6aba4a9f6
2 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,7 @@ LXC_START () {
|
||||||
fi
|
fi
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
echo ""
|
||||||
|
|
||||||
local failstart=0
|
local failstart=0
|
||||||
# Check if the container is running
|
# Check if the container is running
|
||||||
|
|
|
@ -109,6 +109,8 @@ CHECK_URL () {
|
||||||
curl_error=0
|
curl_error=0
|
||||||
# 503 Service Unavailable can would have some time to work.
|
# 503 Service Unavailable can would have some time to work.
|
||||||
local http503=0
|
local http503=0
|
||||||
|
# yuno_portal equal 1 if the test fall on the portal
|
||||||
|
yuno_portal=0
|
||||||
|
|
||||||
# Try to access to the url in 2 times, with a final / and without
|
# Try to access to the url in 2 times, with a final / and without
|
||||||
i=1; while [ $i -ne 3 ]
|
i=1; while [ $i -ne 3 ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue