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