mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-02 05:09:18 +08:00
script
This commit is contained in:
parent
0dec7e3a3c
commit
fe517070f9
1
Open-IM-Server
Submodule
1
Open-IM-Server
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 0dec7e3a3cc0f030bb730cac1f9d1674b101b5f3
|
@ -2,7 +2,7 @@ echo "your user is:$user"
|
||||
echo "your password is:$password"
|
||||
echo "your minio endPoint is:$minio_endpoint"
|
||||
|
||||
sed -i "/^\([[:space:]]*dbMysqlUserName: *\).*/s//\1$user/;0,/\([[:space:]]*dbUserName: *\).*/s//\1 $user/;/\([[:space:]]*accessKeyID: *\).*/s//\1$user/;/\([[:space:]]*endpoint: *\).*/s//\1\"abc\"/;" ../config/config.yaml
|
||||
sed -i "/^\([[:space:]]*dbMysqlUserName: *\).*/s//\1$user/;0,/\([[:space:]]*dbUserName: *\).*/s//\1 $user/;/\([[:space:]]*accessKeyID: *\).*/s//\1 $user/;/\([[:space:]]*endpoint: *\).*/s//\1\"abc\"/;" ../config/config.yaml
|
||||
sed -i "/^\([[:space:]]*dbMysqlPassword: *\).*/s//\1$password/;/\([[:space:]]*dbPassword: *\).*/s//\1$password/;/\([[:space:]]*secret: *\).*/s//\1$password/;/\([[:space:]]*secretAccessKey: *\).*/s//\1$PASSWORD/;" ../config/config.yaml
|
||||
|
||||
sed -i "/\([[:space:]]*endpoint: *\).*/s##\1$minio_endpoint#;" ../config/config.yaml
|
||||
|
Loading…
x
Reference in New Issue
Block a user