summaryrefslogtreecommitdiffstats
path: root/mattermost.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-03-11 16:53:32 -0800
committer=Corey Hulen <corey@hulen.com>2016-03-11 16:53:32 -0800
commit6fa6ea0af532f2b5fb57a1f22431103b1c9e6e27 (patch)
tree56d7fbfb65efbf9ecd55a9a66107a0ea8aa41ff9 /mattermost.go
parent6d21a339dc3aedd373faacd5163462c76263ab07 (diff)
downloadchat-6fa6ea0af532f2b5fb57a1f22431103b1c9e6e27.tar.gz
chat-6fa6ea0af532f2b5fb57a1f22431103b1c9e6e27.tar.bz2
chat-6fa6ea0af532f2b5fb57a1f22431103b1c9e6e27.zip
PLT-2115 adding compliance interfaces
Diffstat (limited to 'mattermost.go')
-rw-r--r--mattermost.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/mattermost.go b/mattermost.go
index 45ffcc88f..21620c539 100644
--- a/mattermost.go
+++ b/mattermost.go
@@ -19,6 +19,7 @@ import (
l4g "github.com/alecthomas/log4go"
"github.com/mattermost/platform/api"
+ "github.com/mattermost/platform/einterfaces"
"github.com/mattermost/platform/manualtesting"
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/utils"
@@ -91,6 +92,10 @@ func main() {
setDiagnosticId()
runSecurityAndDiagnosticsJobAndForget()
+ if einterfaces.GetComplianceInterface() != nil {
+ einterfaces.GetComplianceInterface().StartComplianceJob()
+ }
+
// wait for kill signal before attempting to gracefully shutdown
// the running service
c := make(chan os.Signal)