]> git.somenet.org - root/pub/somesible.git/blob - roles/service/mattermost/files/default/mattermost.service
roles/base/backup/files
[root/pub/somesible.git] / roles / service / mattermost / files / default / mattermost.service
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 [Unit]
10 Description=Mattermost server
11 After=network.target
12 OnFailure=unit-status-mail@%n.service
13
14 [Service]
15 Type=notify
16 ExecStart=/srv/mattermost/server/bin/mattermost
17 TimeoutStartSec=600
18 TimeoutStopSec=15
19 Restart=always
20 RestartSec=10
21 WorkingDirectory=/srv/mattermost/server/
22 User=mattermost
23 Group=mattermost
24 LimitNOFILE=49152
25
26 [Install]
27 WantedBy=multi-user.target