From 5e320b516df7d288fe116866f431c9e35b351feb Mon Sep 17 00:00:00 2001 From: marlon Date: Tue, 11 Feb 2025 15:07:18 -0500 Subject: [PATCH] reload mattermost config using mmctl. Fix readme typo --- README.md | 2 +- abra.sh | 2 +- config.json.tmpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ef9582d..c446982 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ **WARNING: Following these steps will overwrite the configuration of your Mattermost instance. Probably only run it on a fresh deployment.** - `abra app config YOURAPPNAME` - Uncomment the section starting with **Email Support** -- `abra app secret i chat.justiceexchange.org smtp_pass v1 'yourSMTPpassword'` +- `abra app secret i YOURAPPNAME smtp_pass v1 'yourSMTPpassword'` - `abra app undeploy YOURAPPNAME` - `abra app deploy YOURAPPNAME` - `abra app command -C YOURAPPNAME app reset_config` <- This will overwrite your configuration diff --git a/abra.sh b/abra.sh index 4e0136a..12aa1c6 100644 --- a/abra.sh +++ b/abra.sh @@ -3,5 +3,5 @@ export MATTERMOST_CONFIG_VERSION=v1 reset_config() { cp /config-to-copy.json /mattermost/config/config.json && touch /mattermost/config/CoopCloudManaged - kill 8 + mmctl config reload --local } \ No newline at end of file diff --git a/config.json.tmpl b/config.json.tmpl index 38fa8c1..320cdd2 100644 --- a/config.json.tmpl +++ b/config.json.tmpl @@ -99,7 +99,7 @@ "PersistentNotificationMaxCount": 6, "PersistentNotificationMaxRecipients": 5, "EnableAPIChannelDeletion": false, - "EnableLocalMode": false, + "EnableLocalMode": true, "LocalModeSocketLocation": "/var/tmp/mattermost_local.socket", "EnableAWSMetering": false, "SplitKey": "",