fixed qndash.service copy bug

dev
Tom Early 4 years ago
parent a806ad9098
commit efd62e0e16

1
.gitignore vendored

@ -16,5 +16,6 @@ qnremote
qnvoice qnvoice
qnrelay qnrelay
qnmodem qnmodem
system/qndash.service
My_Hosts.txt My_Hosts.txt
dashboardV2/jsonData/*.json dashboardV2/jsonData/*.json

@ -7,8 +7,11 @@ features with the ./qnconfig menu. Don't set the refresh time faster than about
10 seconds. If you do, it will become difficult to use the Send URCall button. 10 seconds. If you do, it will become difficult to use the Send URCall button.
By default, the installed web server will use ip/port 0.0.0.0:80. If you want By default, the installed web server will use ip/port 0.0.0.0:80. If you want
to use something else, copy qndash.service.80 to qndash.service and edit your to use something else, the copy the qndash service file:
new file *before* installing the dashboard.
cp system/qndash.service.80 system/qndash.service
and edit your new file *before* installing the dashboard.
To install the dashboard system, run the following command: To install the dashboard system, run the following command:

@ -210,7 +210,7 @@ installdash : index.php
mkdir -p dashboardV2/jsonData mkdir -p dashboardV2/jsonData
/bin/ln -f -s $(shell pwd)/index.php $(WWWDIR) /bin/ln -f -s $(shell pwd)/index.php $(WWWDIR)
/bin/ln -f -s $(shell pwd)/dashboardV2 $(WWWDIR) /bin/ln -f -s $(shell pwd)/dashboardV2 $(WWWDIR)
if [ ! -e qndash.service ]; then cp qndash.service.80 qndash.service; fi if [ ! -e system/qndash.service ]; then cp system/qndash.service.80 system/qndash.service; fi
/bin/cp -f system/qndash.service $(SYSDIR) /bin/cp -f system/qndash.service $(SYSDIR)
systemctl enable qndash.service systemctl enable qndash.service
systemctl daemon-reload systemctl daemon-reload

Loading…
Cancel
Save

Powered by TurnKey Linux.