* Fix quickstart config.hjson example

* Fix minor log issue in bbs.js @ error when parsing config/etc.
This commit is contained in:
Bryan Ashby 2016-03-27 00:19:31 -06:00
parent 91279464f7
commit 38a96f53da
2 changed files with 25 additions and 22 deletions

View File

@ -78,7 +78,7 @@ function bbsMain() {
],
function complete(err) {
if(err) {
logger.log.error(err);
console.error('Error initializing: ' + util.inspect(err));
}
}
);

View File

@ -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
}
}
}
}
}
```