system/systemd/mattermost.service
Georg a7b59a951b Initial Systemd Service Run: 1/3
Signed-off-by: Georg <georg@lysergic.dev>
2021-07-21 12:34:32 +02:00

18 lines
349 B
Desktop File

[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