summaryrefslogtreecommitdiffstats
path: root/systemd/mattermost.service
blob: 14d0a4dd643c40c2bd5b22d762f30796cc815fe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Mattermost
After=syslog.target network.target mysql.service

[Service]
Type=notify
WorkingDirectory=/opt/mattermost
User=mattermost
Group=mattermost
ExecStart=/opt/mattermost/bin/mattermost
PIDFile=/run/mattermost/master.pid
TimeoutStartSec=3600
LimitNOFILE=49152
RuntimeDirectory=mattermost

[Install]
WantedBy=multi-user.target