Skip to content

Commit 44be0fd

Browse files
committed
config: Improve default config
1 parent 21d8040 commit 44be0fd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Displayed infos are not the same if you do the command in private or public chan
7171

7272
## How to install (for first launch)
7373

74-
- Install package calling `pip install discordbotlinuxmonitor` (or `python setup.py install` from the root of this repository)
74+
- Install package calling `python -m pip install discordbotlinuxmonitor` (or `python setup.py install` from the root of this repository)
7575
- Copy and edit [config-example.json file](https://github.com/QuentinCG/Discord-Bot-Linux-Monitor-Python-Library/blob/master/config-example.json) depending on your need (on first launch, remove all `restart_command` from config file to prevent potential looping service restart issues on your server in case your config file is not well configured)
7676
- Launch the lib for testing it works:
7777
```shell

config-example.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
"warning_uptime_seconds": 3600
4949
},
5050
"scheduled_tasks_check_for_issues": {
51-
"max_duration_seconds_showing_same_error": 10,
52-
"start_immediately": false,
51+
"max_duration_seconds_showing_same_error": 36000,
52+
"start_immediately": true,
5353
"duration_in_sec_wait_between_each_execution": 1800
5454
},
5555
"scheduled_tasks_show_infos": {

0 commit comments

Comments
 (0)