system/systemd/mattermost.service

18 lines
349 B
SYSTEMD
Raw Permalink Normal View History

[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