Compare commits

..

2 Commits

Author SHA1 Message Date
CanbiZ
3bf13f8628
Update mattermost.json 2025-01-30 11:28:36 +01:00
CanbiZ
13a11ec752
Update install/mattermost-install.sh
Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
2025-01-30 11:28:11 +01:00
2 changed files with 2 additions and 3 deletions

View File

@ -48,8 +48,7 @@ $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 "/DataSource/c\ \"DataSource\": \"postgres://$DB_USER:$DB_PASS@localhost:5432/$DB_NAME?sslmode=disable&connect_timeout=10\"," \
-e "/SiteURL/c\ \"SiteURL\": \"http://$IPADDRESS:8065\"," /opt/mattermost/config/config.json
$STD systemctl enable mattermost.service
systemctl start mattermost.service
systemctl enable -q --now mattermost.service
msg_ok "Installed Mattermost"
motd_ssh

View File

@ -4,7 +4,7 @@
"categories": [
25
],
"date_created": "2025-01-29",
"date_created": "2025-01-30",
"type": "ct",
"updateable": false,
"privileged": false,