X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=debian%2Fgps303.conf;h=087d5eb9155c5f7c7500a7d93adc03b8a0aa7a3d;hb=bf48ccad4b4b91e7d7e09d1087f5953bc2db97d7;hp=3b2ca38a6211cc5fe91ec38e1c18556fc38703ce;hpb=cb5e8c8b7ae9dc1916dc75d631717d5ab36fc383;p=loctrkd.git diff --git a/debian/gps303.conf b/debian/gps303.conf index 3b2ca38..087d5eb 100644 --- a/debian/gps303.conf +++ b/debian/gps303.conf @@ -1,20 +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 +# comma-separated list of tracker protocols to accept +protocols = zx303proto [wsgateway] port = 5049 htmlfile = /var/lib/gps303/index.html [storage] -dbfn = /var/lib/gps303/gps303.sqlite +dbfn = /var/lib/gps303/trkloc.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