From efd62e0e1650e02877ab7d4584e4681398f0ff50 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Wed, 20 Oct 2021 04:57:49 -0700 Subject: [PATCH] fixed qndash.service copy bug --- .gitignore | 1 + DASHBOARD.README | 7 +++++-- Makefile | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e170dee..ffd14dc 100644 --- a/.gitignore +++ b/.gitignore @@ -16,5 +16,6 @@ qnremote qnvoice qnrelay qnmodem +system/qndash.service My_Hosts.txt dashboardV2/jsonData/*.json diff --git a/DASHBOARD.README b/DASHBOARD.README index 234977c..7dc32b7 100644 --- a/DASHBOARD.README +++ b/DASHBOARD.README @@ -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. 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 -new file *before* installing the dashboard. +to use something else, the copy the qndash service file: + +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: diff --git a/Makefile b/Makefile index becd24e..34c5ae6 100644 --- a/Makefile +++ b/Makefile @@ -210,7 +210,7 @@ installdash : index.php mkdir -p dashboardV2/jsonData /bin/ln -f -s $(shell pwd)/index.php $(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) systemctl enable qndash.service systemctl daemon-reload