X-Git-Url: http://www.average.org/gitweb/?a=blobdiff_plain;f=debian%2Floctrkd.conf;h=5bc733cfde5b3f04d1d66d13fcae29573af2052e;hb=HEAD;hp=d22214da327d09f67e1eb35aa598ad503d47065a;hpb=dbdf9d63af31770ad57302e16b17a2fdc526773f;p=loctrkd.git diff --git a/debian/loctrkd.conf b/debian/loctrkd.conf index d22214d..5bc733c 100644 --- a/debian/loctrkd.conf +++ b/debian/loctrkd.conf @@ -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##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 @@ -13,12 +15,15 @@ htmlfile = /var/lib/loctrkd/index.html [storage] dbfn = /var/lib/loctrkd/trkloc.sqlite +# store raw events from the collector. Rectified reports are always stored. +events = yes -[lookaside] +[rectifier] # "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 +33,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