From c38e177a4c6215848467ab8fd4eed0186651f57b Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 12 Mar 2024 16:13:37 +0800 Subject: [PATCH] systemd --- systemd/script/send_credentials.sh | 1 + version.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/systemd/script/send_credentials.sh b/systemd/script/send_credentials.sh index f4df487c..5ce98566 100644 --- a/systemd/script/send_credentials.sh +++ b/systemd/script/send_credentials.sh @@ -69,6 +69,7 @@ for ((i=0; i<$length; i++)); do section=${sections[$i]} if [[ -n ${passwords[$container]} ]]; then echo "$container start to set password" + docker exec -i websoft9-apphub apphub setconfig --section $section --key user_name --value ${usernames[$container]} docker exec -i websoft9-apphub apphub setconfig --section $section --key user_pwd --value ${passwords[$container]} else echo "Password for $container is not set or empty. Skipping..." diff --git a/version.json b/version.json index 25f31fba..3b43dbfd 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "2.0.0", + "version": "2.0.1", "plugins": { "portainer": "0.0.9", "nginx": "0.0.7",