install-mattermost.sh: fix error in 'DataSource' parameter.
This commit is contained in:
parent
ea7d6ba2a6
commit
da39466a5f
@ -1067,7 +1067,7 @@ else
|
||||
EOF
|
||||
elif $_found && echo "$_line" | grep -iq -E "^\s*\"DataSource\":" 2> /dev/null ; then
|
||||
cat <<EOF >> ${LOCK_DIR}/config.json 2> "$log_file"
|
||||
"DataSource": "postgres://${DB_USER}:${DB_PASS}@localhost:5432/${DB_NAME}?sslmode=disable\\u0026connect_timeout=100s",
|
||||
"DataSource": "postgres://${DB_USER}:${DB_PASS}@localhost:5432/${DB_NAME}?sslmode=disable\\u0026connect_timeout=10",
|
||||
EOF
|
||||
else
|
||||
echo "$_line" >> ${LOCK_DIR}/config.json 2> "$log_file"
|
||||
|
Loading…
Reference in New Issue
Block a user