X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=debian%2Fgps303.conf;h=9d5ed3ca161c977f4018153d85765309cf502303;hb=7ff26a2079e56969c65937b1bae7f6d908aa0664;hp=9b8ea5bab6b9513069dec159243633ee9eccceb4;hpb=21ab3e6ccd337ef7c69e149a4f21d6a6139557d8;p=loctrkd.git diff --git a/debian/gps303.conf b/debian/gps303.conf index 9b8ea5b..9d5ed3c 100644 --- a/debian/gps303.conf +++ b/debian/gps303.conf @@ -1,19 +1,30 @@ [collector] +# configure your gps terminal with this SMS: +# "server##4303#" port = 4303 publishurl = ipc:///var/lib/gps303/collected listenurl = ipc:///var/lib/gps303/responses [wsgateway] port = 5049 +htmlfile = /var/lib/gps303/index.html [storage] dbfn = /var/lib/gps303/gps303.sqlite [lookaside] -publishurl = ipc:///var/lib/gps303/locevt +# "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 [opencellid] dbfn = /var/lib/opencellid/opencellid.sqlite +# for testing: run `python -m http.server --directory ` and use this: +# downloadurl = http://localhost:8000/.csv.gz +# then the next two statements will be ignored +downloadtoken = /var/lib/opencellid/opencellid.token +downloadmcc = 262 [termconfig] statusIntervalMinutes = 25