mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 17:10:27 +00:00
systemd fixed
This commit is contained in:
parent
ff879c62e9
commit
f4c75b5299
1 changed files with 1 additions and 2 deletions
|
@ -15,8 +15,7 @@ while true; do
|
||||||
docker cp websoft9-deployment:/var/websoft9/credential /data/websoft9/credential_deployment
|
docker cp websoft9-deployment:/var/websoft9/credential /data/websoft9/credential_deployment
|
||||||
content=$(cat /data/websoft9/credential_deployment)
|
content=$(cat /data/websoft9/credential_deployment)
|
||||||
username="admin"
|
username="admin"
|
||||||
password=$(echo "$content" | awk -F':' '{print $2}')
|
json="{\"username\":\"$username\",\"password\":\"$content\"}"
|
||||||
json="{\"username\":\"$username\",\"password\":\"$password\"}"
|
|
||||||
echo "$json" > /data/websoft9/credential_deployment
|
echo "$json" > /data/websoft9/credential_deployment
|
||||||
docker cp /data/websoft9/credential_deployment websoft9-apphub:/websoft9/credentials
|
docker cp /data/websoft9/credential_deployment websoft9-apphub:/websoft9/credentials
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue