#!/bin/bash
# helper script to comfortly call the platform binary from path
cd /opt/mattermost
if [ $# == 0 ]; then
	echo "You need to pass at least one parameter. Try $0 help instead."
	exit 1
else
	/opt/mattermost/bin/mattermost --config=/etc/mattermost/config.json "$@"
fi
