X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=debian%2Floctrkd.conf;fp=debian%2Floctrkd.conf;h=d22214da327d09f67e1eb35aa598ad503d47065a;hb=dbdf9d63af31770ad57302e16b17a2fdc526773f;hp=0000000000000000000000000000000000000000;hpb=bf48ccad4b4b91e7d7e09d1087f5953bc2db97d7;p=loctrkd.git diff --git a/debian/loctrkd.conf b/debian/loctrkd.conf new file mode 100644 index 0000000..d22214d --- /dev/null +++ b/debian/loctrkd.conf @@ -0,0 +1,50 @@ +[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 +htmlfile = /var/lib/loctrkd/index.html + +[storage] +dbfn = /var/lib/loctrkd/trkloc.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 +uploadIntervalSeconds = 0x0300 +binarySwitch = 0b00110001 +alarms = + 0 + 0 + 0 +dndTimeSwitch = 0 +dndTimes = + 0 + 0 + 0 +gpsTimeSwitch = 0 +gpsTimeStart = 0 +gpsTimeStop = 0 +phoneNumbers = + "" + "" + ""