From 48048f9e95f18d0ee27d0a8c5459dfe3b74e492f Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Mon, 28 Jan 2019 16:27:46 +0000 Subject: [PATCH] Starts Elasticsearch and Metrics when running the server. (#10182) --- cmd/mattermost/commands/server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/mattermost/commands/server.go b/cmd/mattermost/commands/server.go index e4c123b5c8..04c0a20ec0 100644 --- a/cmd/mattermost/commands/server.go +++ b/cmd/mattermost/commands/server.go @@ -48,6 +48,8 @@ func runServer(configFileLocation string, disableConfigWatch bool, usedPlatform app.ConfigFile(configFileLocation), app.RunJobs, app.JoinCluster, + app.StartElasticsearch, + app.StartMetrics, } if disableConfigWatch { options = append(options, app.DisableConfigWatch)