mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-02 17:08:38 +08:00
systemd
This commit is contained in:
parent
c0c667e207
commit
c38e177a4c
@ -69,6 +69,7 @@ for ((i=0; i<$length; i++)); do
|
|||||||
section=${sections[$i]}
|
section=${sections[$i]}
|
||||||
if [[ -n ${passwords[$container]} ]]; then
|
if [[ -n ${passwords[$container]} ]]; then
|
||||||
echo "$container start to set password"
|
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]}
|
docker exec -i websoft9-apphub apphub setconfig --section $section --key user_pwd --value ${passwords[$container]}
|
||||||
else
|
else
|
||||||
echo "Password for $container is not set or empty. Skipping..."
|
echo "Password for $container is not set or empty. Skipping..."
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"portainer": "0.0.9",
|
"portainer": "0.0.9",
|
||||||
"nginx": "0.0.7",
|
"nginx": "0.0.7",
|
||||||
|
Loading…
Reference in New Issue
Block a user