Currently best practice to use mattermost 2.1.0 CLI in a GitLab omnibus install:
- copy
en.json
from/opt/gitlab/embedded/service/mattermost/i18n/
to/opt/gitlab/embedded/service/mattermost/
- make
/opt/gitlab/embedded/service/mattermost/
your current directory - use
sudo -u mattermost /opt/gitlab/embedded/bin/mattermost -config="/var/opt/gitlab/mattermost/config.json" ...
- or
su mattermost
and then/opt/gitlab/embedded/bin/mattermost -config="/var/opt/gitlab/mattermost/config.json" ...
if you didn’t fuss to installsudo