Moved reference to dashboard.ini to /usr/local/etc

only_http
John Hays 9 months ago
parent f2cd18606c
commit e6824bb6dc

@ -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, 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. 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 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 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. in realtime to update the dashboard.

@ -8,7 +8,7 @@ const path = require('path');
const Tail = require('tail-file'); const Tail = require('tail-file');
const CircularBuffer = require("circular-buffer"); 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 host = inifile.config.host;
const port = inifile.config.port; const port = inifile.config.port;
const links = inifile.logs.links; const links = inifile.logs.links;

@ -3,13 +3,13 @@ headers=/var/log/dstargateway/Headers.log
links=/var/log/dstargateway/Links.log links=/var/log/dstargateway/Links.log
[config] [config]
dgwconfig=/usr/local/etc/dstargateway.cfg 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 port=443
[urls] [urls]
sponsorname=Greater Kingston Radio Club sponsorname= #sponsor name
cosponsorname=Northwest Digital Radio Club cosponsorname= #cosponsor name
sponsor=https://groups.io/g/gkrc sponsor= #URL to sponsor
cosponsor=https://www.qrz.com/db/NW7DR cosponsor= #URL to cosponsor
registersite=D-STAR Registration registersite=D-STAR Registration
registration=https://regist.dstargateway.org registration=https://regist.dstargateway.org
livename_1=IRCDDB Live livename_1=IRCDDB Live
Loading…
Cancel
Save