Skip to content

Commit

Permalink
systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Mar 12, 2024
1 parent c0c667e commit c38e177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions systemd/script/send_credentials.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.0.0",
"version": "2.0.1",
"plugins": {
"portainer": "0.0.9",
"nginx": "0.0.7",
Expand Down

0 comments on commit c38e177

Please sign in to comment.