summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/platform/server.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/platform/server.go b/cmd/platform/server.go
index 01c8b646a..cb1530951 100644
--- a/cmd/platform/server.go
+++ b/cmd/platform/server.go
@@ -114,6 +114,12 @@ func runServer(configFileLocation string) {
einterfaces.GetMetricsInterface().StartServer()
}
+ if einterfaces.GetElasticSearchInterface() != nil {
+ if err := einterfaces.GetElasticSearchInterface().Start(); err != nil {
+ l4g.Error(err.Error())
+ }
+ }
+
// wait for kill signal before attempting to gracefully shutdown
// the running service
c := make(chan os.Signal)