-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store statistics to persistent storage, read during startup
Correct CPR calculation and discard relative CPR (for now) Version 2.3.6
- Loading branch information
Showing
6 changed files
with
164 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,6 +119,18 @@ Configuration for spots is in `spots_config.json`. Follows json syntax with no e | |
* spots server address (localhost or ip-address): the address for the server | ||
* spots server port (5051): the server port | ||
* flight db name (string): name of database file to store flight counts, if the value is "" this function is skipped | ||
* statistics file name (string): name of file to store statistics, which are read during start | ||
* config file (string): name of file where personal email configuration data is stored, if the value is "" no emailing is done | ||
* email recipient (string): name of email recipient, used when rare errors occur for notification. SMTP information is stored in the config file (above) | ||
|
||
config file for SMTP info use the following syntax: | ||
{ | ||
"//": "CAUTION: Stored in plain text!", | ||
"SMTP_server": "smtp.gmail.com", | ||
"SMTP_port": 587, | ||
"GMAIL_username": "[email protected]", | ||
"GMAIL_pw": "YourSercretPassword" | ||
} | ||
|
||
## Client/Server | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
"spots server address": "", | ||
"spots server port": 5051, | ||
"flight db name": "spots_flight_db.json", | ||
"statistics filename": "spots_stats.json", | ||
"config file": "/usr/etc/mm.json", | ||
"email recipient": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters