summarylogtreecommitdiffstats
path: root/mattermost.service
diff options
context:
space:
mode:
authorWilliam Gathoye2017-03-11 15:29:08 +0100
committerWilliam Gathoye2017-05-10 15:46:34 +0200
commit04d9eb6d4194448d4420f34da55454cafcda58eb (patch)
tree78095d9e26a8f039a92fff08724901c2c3a1301e /mattermost.service
downloadaur-04d9eb6d4194448d4420f34da55454cafcda58eb.tar.gz
Initial import from AUR package mattermost and update to 3.9
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 00000000000..11aa7d214a3
--- /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