]> average.org Git - loctrkd.git/blobdiff - debian/loctrkd.conf
rectifier: add PUB zmq socket
[loctrkd.git] / debian / loctrkd.conf
index d22214da327d09f67e1eb35aa598ad503d47065a..a28104335b9468519538643ddff578d2fba8a04f 100644 (file)
@@ -1,11 +1,13 @@
+[common]
+# comma-separated list of tracker protocols to accept
+protocols = zx303proto,beesure
+
 [collector]
 # configure your gps terminal with this SMS:
 # "server#<your_server_ip_or_fqdn>#4303#"
 port = 4303
 publishurl = ipc:///var/lib/loctrkd/collected
 listenurl = ipc:///var/lib/loctrkd/responses
-# comma-separated list of tracker protocols to accept
-protocols = zx303proto
 
 [wsgateway]
 port = 5049
@@ -14,11 +16,12 @@ htmlfile = /var/lib/loctrkd/index.html
 [storage]
 dbfn = /var/lib/loctrkd/trkloc.sqlite
 
-[lookaside]
+[rectifier]
 # "opencellid" and "googlemaps" can be here. Both require an access token,
 # though googlemaps is only online, while opencellid backend looks up a
 # local database, that can be updated once a week or once a month.
-backend = opencellid
+lookaside = opencellid
+publishurl = ipc:///var/lib/loctrkd/rectified
 
 [opencellid]
 dbfn = /var/lib/opencellid/opencellid.sqlite
@@ -28,6 +31,10 @@ dbfn = /var/lib/opencellid/opencellid.sqlite
 downloadtoken = /var/lib/opencellid/opencellid.token
 downloadmcc = 262
 
+# For googlemaps lookaside backend, specify the token
+# [googlemaps]
+# accesstoken = google.token
+
 [termconfig]
 statusIntervalMinutes = 25
 uploadIntervalSeconds = 0x0300