pkg install -y apache24
sysrc apache24_enable=YES
service apache24 start
pkg ins -y postgresql95-server postgresql95-contrib
sysrc postgresql_enable=YES
service postgresql initdb
service postgresql start
pkg install -y mattermost-server
ls /usr/local/www/mattermost
sysrc mattermostd_enable=YES
service mattermostd start
service mattermostd status
mattermostd is not running.
cp /usr/local/etc/mattermost/config.json.sample /usr/local/etc/mattermost/config.json
$EDITOR /usr/local/etc/mattermost/config.json.sample /usr/local/etc/mattermost/config.json