]> www.average.org Git - loctrkd.git/blobdiff - debian/gps303.conf
cleanup and document config file a bit
[loctrkd.git] / debian / gps303.conf
index 3b2ca38a6211cc5fe91ec38e1c18556fc38703ce..f19b4af8e3adad3f21f6d757a639aebb3f4ba5de 100644 (file)
@@ -1,4 +1,6 @@
 [collector]
+# configure your gps terminal with this SMS:
+# "server#<your_server_ip_or_fqdn>#4303#"
 port = 4303
 publishurl = ipc:///var/lib/gps303/collected
 listenurl = ipc:///var/lib/gps303/responses
@@ -11,10 +13,14 @@ htmlfile = /var/lib/gps303/index.html
 dbfn = /var/lib/gps303/gps303.sqlite
 
 [lookaside]
-publishurl = ipc:///var/lib/gps303/locevt
+# "opencellid" is the only implemented backend for the time being
+backend = opencellid
 
 [opencellid]
 dbfn = /var/lib/opencellid/opencellid.sqlite
+# for testing: run `python -m http.server --directory <your_dir>` and use this:
+# downloadurl = http://localhost:8000/<your_mcc>.csv.gz
+# then the next two statements will be ignored
 downloadtoken = /var/lib/opencellid/opencellid.token
 downloadmcc = 262