summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Webster2020-02-27 17:22:08 +0000
committerDonald Webster2020-02-27 17:22:08 +0000
commit6e95bb8c2cb05168a136d321694312de73b7076a (patch)
tree5bb5b95eaf8ce9c98e59649ff9e0bda649ffc904
parent9cf9332aa0d4c568e5f47a069edc0579dfbfa838 (diff)
downloadaur-6e95bb8c2cb05168a136d321694312de73b7076a.tar.gz
Add comment to service file about creating the uuid file in /boot.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--adsbexchange-stats.service7
3 files changed, 9 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b46214dcb31f..e47a10a1d0e4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -17,7 +17,7 @@ pkgbase = adsbexchange-stats-git
source = adsbexchange-stats::git+git://github.com/adsbxchange/adsbexchange-stats
source = adsbexchange-stats.service
sha256sums = SKIP
- sha256sums = e6ef0503ebf8022ad5c0a320dde1bd94a5e69c7649a697069c2b8184d02ea0fd
+ sha256sums = 622b2c0c9e6a822b76ad5a77bbb23b320ee113d9e6ee71db08eb3cdb8e72dde6
pkgname = adsbexchange-stats-git
diff --git a/PKGBUILD b/PKGBUILD
index c3545a3cb6d6..15c686d89805 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ source=('adsbexchange-stats::git+git://github.com/adsbxchange/adsbexchange-stats
'adsbexchange-stats.service')
sha256sums=('SKIP'
- 'e6ef0503ebf8022ad5c0a320dde1bd94a5e69c7649a697069c2b8184d02ea0fd')
+ '622b2c0c9e6a822b76ad5a77bbb23b320ee113d9e6ee71db08eb3cdb8e72dde6')
pkgver() {
cd "${srcdir}/${_gitname}"
diff --git a/adsbexchange-stats.service b/adsbexchange-stats.service
index 01aa1acdfdbf..2ae84cf9ea45 100644
--- a/adsbexchange-stats.service
+++ b/adsbexchange-stats.service
@@ -1,3 +1,10 @@
+# The script creates a file with uuid in /boot, but that is
+# not a good reason to run as root. A new uuid will be used
+# every time the script runs and that has little impact. But
+# you can use the below command to create the file and make it
+# persist.
+# uuidgen -t | sudo tee /boot/adsbx-uuid
+
[Unit]
Description=ADSBexchange Stats
Wants=network.target readsb.service