Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 26689

Start MM via systemd ubuntu 16.04

$
0
0

I find two configurations for run on systemd

first from http://zwarag.com

[Unit]
Description=mattermost
After=multi-user.target

[Service]
User=mattermost
WorkingDirectory=/var/www
ExecStart=/var/www/bin/platform
Restart=always
RestartSec=10

[Install]
WantedBy=multi-user.target

and second from https://www.howtoforge.com/tutorial/install-mattermost-with-postgresql-and-nginx-on-centos7/

[Unit]
Description=Mattermost
After=syslog.target network.target

[Service]
Type=simple
WorkingDirectory=/opt/mattermost/bin
User=mattermost
ExecStart=/opt/mattermost/bin/platform
PIDFile=/var/spool/mattermost/pid/master.pid

[Install]
WantedBy=multi-user.target

I'm tested only first and its working )


Viewing all articles
Browse latest Browse all 26689

Trending Articles