From 38a96f53da782df0656acf7efd7b8798db330096 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 27 Mar 2016 00:19:31 -0600 Subject: [PATCH] * Fix quickstart config.hjson example * Fix minor log issue in bbs.js @ error when parsing config/etc. --- core/bbs.js | 2 +- docs/index.md | 45 ++++++++++++++++++++++++--------------------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/core/bbs.js b/core/bbs.js index 56b24efc..f29369cc 100644 --- a/core/bbs.js +++ b/core/bbs.js @@ -78,7 +78,7 @@ function bbsMain() { ], function complete(err) { if(err) { - logger.log.error(err); + console.error('Error initializing: ' + util.inspect(err)); } } ); diff --git a/docs/index.md b/docs/index.md index ed848949..181de7a2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -44,30 +44,33 @@ openssl genrsa -des3 -out ./misc/ssh_private_key.pem 2048 The main system configuration is handled via `~/.config/enigma-bbs/config.hjson`. This is a [HJSON](http://hjson.org/) file (compiliant JSON is also OK). See [Configuration](config.md) for more information. ```hjson -general: { - boardName: Super Awesome BBS -} +{ + general: { + boardName: Super Awesome BBS + } -servers: { - ssh: { - privateKeyPass: YOUR_PK_PASS - enabled: true /* set to false to disable the SSH server */ - } -} + servers: { + ssh: { + privateKeyPass: YOUR_PK_PASS + enabled: true /* set to false to disable the SSH server */ + } + } -messageConferences: { - local_general: { - name: Local - desc: Local Discussions - default: true + messageConferences: { + local_general: { + name: Local + desc: Local Discussions + default: true - areas: { - local_music: { - name: Music Discussion - desc: Music, bands, etc. - default: true - } - } + areas: { + local_music: { + name: Music Discussion + desc: Music, bands, etc. + default: true + } + } + } + } } ```