summarylogtreecommitdiffstats
path: root/mattermost.service
diff options
context:
space:
mode:
Diffstat (limited to 'mattermost.service')
-rw-r--r--mattermost.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/mattermost.service b/mattermost.service
new file mode 100644
index 000000000000..11aa7d214a3e
--- /dev/null
+++ b/mattermost.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Mattermost Chat Server
+After=mysqld.service
+After=postgresql.service
+
+[Service]
+Type=simple
+User=mattermost
+Group=mattermost
+ExecStart=/usr/share/webapps/mattermost/bin/platform
+WorkingDirectory=/usr/share/webapps/mattermost
+
+Restart=on-failure
+PrivateTmp=false
+
+[Install]
+WantedBy=multi-user.target