This commit is contained in:
Alexandre
2023-05-21 11:02:35 +02:00
parent 9fb4d0cdca
commit 266cb92540
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ if [ -f /config/addons_autoscripts/"${slug}".sh ]; then
bashio::log.info "... script found, executing"
# Convert scripts to linux
dos2unix /config/addons_autoscripts/"${slug}".sh || true
chmod +x /config/addons_autoscripts/"${slug}".sh
chmod +x /config/addons_autoscripts/"${slug}".sh || true
/./config/addons_autoscripts/"${slug}".sh
else
bashio::log.info "... no script found"

View File

@@ -30,7 +30,7 @@
"9001/tcp": "Portainer agent"
},
"schema": {
"AGENT_CLUSTER_ADDR": "str",
"AGENT_CLUSTER_ADDR": "str?",
"AGENT_CLUSTER_PROBE_INTERVAL": "str?",
"AGENT_CLUSTER_PROBE_TIMEOUT": "str?",
"AGENT_SECRET": "str?",