From da39466a5fc1c74eb7e2d94aa459ea321acec85a Mon Sep 17 00:00:00 2001 From: root Date: Mon, 23 Sep 2024 20:56:19 +0200 Subject: [PATCH] install-mattermost.sh: fix error in 'DataSource' parameter. --- install-mattermost.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-mattermost.sh b/install-mattermost.sh index eaf9105..cf67cbb 100755 --- a/install-mattermost.sh +++ b/install-mattermost.sh @@ -1067,7 +1067,7 @@ else EOF elif $_found && echo "$_line" | grep -iq -E "^\s*\"DataSource\":" 2> /dev/null ; then cat <> ${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"