From 266cb925400bd0a8756d6dc30ab5790fb70da107 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sun, 21 May 2023 11:02:35 +0200 Subject: [PATCH] update --- .templates/01-custom_script.sh | 2 +- portainer_agent/config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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?",