Some more configuration changes and inline comments.

This commit is contained in:
Johannes Findeisen 2022-10-06 23:40:36 +02:00
commit 851505bff3
2 changed files with 6 additions and 6 deletions

View file

@ -37,7 +37,7 @@ logger = logging.getLogger('linspector')
# i currently only increase the 3rd number because the goal is that 0.19.* will become the first
# stable version.
__version__ = '0.19.41.dev1'
__version__ = '0.19.42.dev1'
__author__ = 'Johannes Findeisen <you@hanez.org>'

View file

@ -8,20 +8,20 @@ log_file = ~/code/linspector/linspector/log/linspector.log
; number of log files to be kept. i recommend to use the lowest sensible value for keeping performance high. so set
; the size of the log file higher to increase the log history.
log_file_count = 10
; log file size in megabytes as int.
; log file size in megabytes as int. the default is 10000000 bytes (10MiB) set in the code if not configured here.
log_file_size = 5
; log file size in bytes as int. you can set to bytes if you want to set a value lower then 1 megabyte. but it will
; only be used when log_file_size is not set. the default is 10000000 (10MiB) in the code if not set here.
; only be used when log_file_size is not set.
log_file_size_bytes = 100000
pid_file = /var/run/user/1000/linspector.pid
; plugins separated by ','. no whitespaces allowed! not case sensitive.
plugins = Lish,HTTPServer
plugins = lish,httpserver
; globally configured tasks will always run on all monitors when no task is configured there. if tasks are configured in
; a monitor then maybe only run tasks from the dedicated monitor. maybe it is a good idea to run global tasks in every
; monitor and the monitor can add tasks to the global settings... need to think about it.
; tasks separated by ','. no whitespaces allowed! not case sensitive.
tasks = SQLite
notifications = SMS
tasks = sqlite
notifications = sms
; maybe the run_mode is obsolete because this will be a daemon but maybe it is useful for one time execution?
; in uplink the available run_modes were cron, daemon and foreground
run_mode = cron