]> www.average.org Git - loctrkd.git/blob - debian/loctrkd.conf
a28104335b9468519538643ddff578d2fba8a04f
[loctrkd.git] / debian / loctrkd.conf
1 [common]
2 # comma-separated list of tracker protocols to accept
3 protocols = zx303proto,beesure
4
5 [collector]
6 # configure your gps terminal with this SMS:
7 # "server#<your_server_ip_or_fqdn>#4303#"
8 port = 4303
9 publishurl = ipc:///var/lib/loctrkd/collected
10 listenurl = ipc:///var/lib/loctrkd/responses
11
12 [wsgateway]
13 port = 5049
14 htmlfile = /var/lib/loctrkd/index.html
15
16 [storage]
17 dbfn = /var/lib/loctrkd/trkloc.sqlite
18
19 [rectifier]
20 # "opencellid" and "googlemaps" can be here. Both require an access token,
21 # though googlemaps is only online, while opencellid backend looks up a
22 # local database, that can be updated once a week or once a month.
23 lookaside = opencellid
24 publishurl = ipc:///var/lib/loctrkd/rectified
25
26 [opencellid]
27 dbfn = /var/lib/opencellid/opencellid.sqlite
28 # for testing: run `python -m http.server --directory <your_dir>` and use this:
29 # downloadurl = http://localhost:8000/<your_mcc>.csv.gz
30 # then the next two statements will be ignored
31 downloadtoken = /var/lib/opencellid/opencellid.token
32 downloadmcc = 262
33
34 # For googlemaps lookaside backend, specify the token
35 # [googlemaps]
36 # accesstoken = google.token
37
38 [termconfig]
39 statusIntervalMinutes = 25
40 uploadIntervalSeconds = 0x0300
41 binarySwitch = 0b00110001
42 alarms =
43  0
44  0
45  0
46 dndTimeSwitch = 0
47 dndTimes =
48  0
49  0
50  0
51 gpsTimeSwitch = 0
52 gpsTimeStart = 0
53 gpsTimeStop = 0
54 phoneNumbers =
55  ""
56  ""
57  ""