mirror of
https://github.com/yusufipk/dead-man-message.git
synced 2026-09-11 11:06:08 +00:00
1. Ability to configure variables from a JSON file. 2. By default, checkin.sh does not know the value of checkin_file, this commit fixes that. 3. I want to create a web interface, front end, for this project and it is easier for the PHP server to parse the json data.
23 lines
695 B
JSON
23 lines
695 B
JSON
{
|
|
"smtp_host": "your_smpt_server",
|
|
"smtp_port": 587,
|
|
"smtp_user": "username",
|
|
"smtp_password": "password",
|
|
"from_email": "coming_from",
|
|
"to_email": "going_to",
|
|
"checkin_file": "./checkin_file.txt",
|
|
"counter_file": "./counter_file.txt",
|
|
"DAYS_REMINDER": 25,
|
|
"DAYS_DEADMAN": 30,
|
|
"SECONDS_IN_A_DAY": 86400,
|
|
"count_sent_mail": 7,
|
|
"family_members": ["[email protected]"],
|
|
"reminder_subject": "REMINDER",
|
|
"reminder_message": "Please check-in",
|
|
"dead_man_activation_subject": "Dead Man's Switch Activated",
|
|
"dead_man_activation_message": "You forgot to check-in",
|
|
"dead_man_subject": "I Am Gone",
|
|
"dead_man_message": "I'm dead",
|
|
"files_to_attach": ["file.gpg"]
|
|
}
|