Moved reference to dashboard.ini to /usr/local/etc
This commit is contained in:
parent
f2cd18606c
commit
e6824bb6dc
3 changed files with 8 additions and 6 deletions
|
@ -14,6 +14,8 @@ as legitimate. I typically run Apache2 or another webserver to allow Certbot to
|
|||
typically reside in /etc/live/**your domain name** and I simply soft link (ln -s) them from the dsgwdashboard directory. You can disable the webserver,
|
||||
such as Apache2 or NGNIX once you have the certificates.
|
||||
|
||||
**Edit util/dashboard.ini and copy to /usr/local/etc/dashboard.ini**
|
||||
|
||||
Before starting up the dsgwdashboard you will want to have DStarGateway running, to prepopulate the log files. Your first task
|
||||
will be to edit dashboard.ini to put in your hostname and to ensure file paths match your install of DStarGateway. The dashboard parses those log files
|
||||
in realtime to update the dashboard.
|
||||
|
|
2
index.js
2
index.js
|
@ -8,7 +8,7 @@ const path = require('path');
|
|||
const Tail = require('tail-file');
|
||||
const CircularBuffer = require("circular-buffer");
|
||||
|
||||
const inifile = ini.parse(fs.readFileSync('./dashboard.ini', 'utf-8'));
|
||||
const inifile = ini.parse(fs.readFileSync('/usr/local/etc/dashboard.ini', 'utf-8'));
|
||||
const host = inifile.config.host;
|
||||
const port = inifile.config.port;
|
||||
const links = inifile.logs.links;
|
||||
|
|
|
@ -3,13 +3,13 @@ headers=/var/log/dstargateway/Headers.log
|
|||
links=/var/log/dstargateway/Links.log
|
||||
[config]
|
||||
dgwconfig=/usr/local/etc/dstargateway.cfg
|
||||
host=nw7dr.ampr.org
|
||||
host= #enter your domain name here (this should also have a cert for https)
|
||||
port=443
|
||||
[urls]
|
||||
sponsorname=Greater Kingston Radio Club
|
||||
cosponsorname=Northwest Digital Radio Club
|
||||
sponsor=https://groups.io/g/gkrc
|
||||
cosponsor=https://www.qrz.com/db/NW7DR
|
||||
sponsorname= #sponsor name
|
||||
cosponsorname= #cosponsor name
|
||||
sponsor= #URL to sponsor
|
||||
cosponsor= #URL to cosponsor
|
||||
registersite=D-STAR Registration
|
||||
registration=https://regist.dstargateway.org
|
||||
livename_1=IRCDDB Live
|
Loading…
Reference in a new issue