- copy mattermost to
/etc/init.d/mattermost
- ensure that the init script is executable with
chmod +x /etc/init.d/mattermost
- At boot-time systemd will convert this init script into a service file for its own use.
- Tested only on Debian Jessie with systemd