]> www.average.org Git - loctrkd.git/blobdiff - debian/loctrkd.conf
Adjust config to changing messaging topology
[loctrkd.git] / debian / loctrkd.conf
index 9f45a0806e91e14dfebf8e67594dcdfc804e143a..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
@@ -18,7 +20,8 @@ dbfn = /var/lib/loctrkd/trkloc.sqlite
 # "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