From 59e5a6b48a954ff5a829dc18f5748b7618fd1730 Mon Sep 17 00:00:00 2001 From: Dracentis <24703977+Dracentis@users.noreply.github.com> Date: Wed, 29 Jan 2025 19:19:33 -0500 Subject: [PATCH] Fixed sed command in mattermost-install.sh --- install/mattermost-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/mattermost-install.sh b/install/mattermost-install.sh index 2126ba08..8e9d7039 100644 --- a/install/mattermost-install.sh +++ b/install/mattermost-install.sh @@ -48,9 +48,9 @@ $STD apt-get install -y mattermost $STD install -C -m 600 -o mattermost -g mattermost /opt/mattermost/config/config.defaults.json /opt/mattermost/config/config.json sed -i -e "/DriverName/c\ \"DriverName\": \"postgres\"," \ -e "/DataSource/c\ \"DataSource\": \"postgres://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?sslmode=disable&connect_timeout=10\"," \ - -e "/SiteUrl/c\ \"SiteUrl\": \"http://$IPADDRESS\"," /opt/mattermost/config/config.json + -e "/SiteURL/c\ \"SiteURL\": \"http://$IPADDRESS\"," /opt/mattermost/config/config.json $STD systemctl enable mattermost.service -$STD systemctl start mattermost.service +systemctl start mattermost.service msg_ok "Installed Mattermost" motd_ssh