diff --git a/.templates/01-custom_script.sh b/.templates/01-custom_script.sh index 472bab4ee..c713713f2 100755 --- a/.templates/01-custom_script.sh +++ b/.templates/01-custom_script.sh @@ -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" diff --git a/portainer_agent/config.json b/portainer_agent/config.json index a71690b1e..0c098a6b9 100644 --- a/portainer_agent/config.json +++ b/portainer_agent/config.json @@ -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?",