mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-15 13:21:50 +02:00
test
This commit is contained in:
@@ -47,5 +47,5 @@
|
|||||||
},
|
},
|
||||||
"slug": "portainer_agent",
|
"slug": "portainer_agent",
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons",
|
"url": "https://github.com/alexbelgium/hassio-addons",
|
||||||
"version": "2.18.2"
|
"version": "2.18.2-test2"
|
||||||
}
|
}
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
bashio::require.unprotected
|
bashio::require.unprotected
|
||||||
|
|
||||||
# Wait for transmission to become available
|
# Wait for transmission to become available
|
||||||
bashio::net.wait_for 9001 localhost 900
|
bashio::net.wait_for 9001 localhost 50
|
||||||
|
|
||||||
# Launch app
|
# Launch app
|
||||||
cd /app || true
|
cd /app || true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
|
||||||
START_TIME=`date +%s`
|
START_TIME="$(date +%s)"
|
||||||
|
|
||||||
echo "Waiting for first healthcheck execution (max $FIRST_HEALTHCHECK_TIMEOUT seconds)..."
|
echo "Waiting for first healthcheck execution (max $FIRST_HEALTHCHECK_TIMEOUT seconds)..."
|
||||||
|
|
||||||
@@ -8,7 +8,7 @@ while [ ! -f "/tmp/healthcheck-signal" ];
|
|||||||
do
|
do
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
ELAPSED_TIME=`expr \`date +%s\` - $START_TIME`
|
ELAPSED_TIME="$(expr \date +%s\ - $START_TIME)"
|
||||||
|
|
||||||
if [ $ELAPSED_TIME -gt $FIRST_HEALTHCHECK_TIMEOUT ]
|
if [ $ELAPSED_TIME -gt $FIRST_HEALTHCHECK_TIMEOUT ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user