diff --git a/server/Makefile b/server/Makefile index e48dc5bd55..ae89157e06 100644 --- a/server/Makefile +++ b/server/Makefile @@ -710,10 +710,10 @@ config-ldap: ## Configures LDAP. @sed -i'' -e 's|"GroupDisplayNameAttribute": ".*"|"GroupDisplayNameAttribute": "cn"|g' config/config.json @sed -i'' -e 's|"GroupIdAttribute": ".*"|"GroupIdAttribute": "entryUUID"|g' config/config.json -config-reset: ## Resets the config/config.json file to the default. - @echo Resetting configuration to default +config-reset: ## Resets the config/config.json file to the default production values. + @echo Resetting configuration to production default rm -f config/config.json - OUTPUT_CONFIG=$(PWD)/config/config.json $(GO) $(GOFLAGS) run ./scripts/config_generator + OUTPUT_CONFIG=$(PWD)/config/config.json $(GO) $(GOFLAGS) run -tags production ./scripts/config_generator diff-config: ## Compares default configuration between two mattermost versions @./scripts/diff-config.sh