Skip to content

Instantly share code, notes, and snippets.

@misje
Last active July 3, 2018 09:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save misje/3f1bfe8dffd060994605 to your computer and use it in GitHub Desktop.
Save misje/3f1bfe8dffd060994605 to your computer and use it in GitHub Desktop.
Mattermost systemd service file example
[Unit]
Description=Mattermost
After=network.target mysql.service
[Service]
Type=simple
ExecStart=/srv/mattermost/bin/mattermost
Restart=always
RestartSec=10
WorkingDirectory=/srv/mattermost
User=mattermost
Group=mattermost
LimitNOFILE=49152
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment