X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=debian%2Fgps303.conf;h=9d5ed3ca161c977f4018153d85765309cf502303;hb=dfde66b74725ce489425f320082aec3985e1e299;hp=10889ebe7a7944ffa7f349718568666c5a8a289b;hpb=574f0db6f5d603fa3d9a40913b7504e9b8efd75b;p=loctrkd.git diff --git a/debian/gps303.conf b/debian/gps303.conf index 10889eb..9d5ed3c 100644 --- a/debian/gps303.conf +++ b/debian/gps303.conf @@ -1,13 +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] +# "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