Thanks, this works, but how does one implement this under systemd? I'm running mattermost in a Linux Container on a Debian 8 host, so the only option I have at the moment is running the service as root.
Of course this works, but I suppose the reason mattermost should run under it's own username is for better security. It that correct?
The primary reason I want this, is so that I can run mattermost on port 443 rather than on port 8065. Is there any reason why the service is not running on the default https port?