docs: update config example in README to match latest version
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I912f2df16018357499c59fdf8ddfe8966a6a6964
This commit is contained in:
parent
040d620917
commit
7fdd64c379
1 changed files with 16 additions and 5 deletions
|
|
@ -143,17 +143,28 @@ pscand list
|
||||||
Configuration is stored in `/etc/pscand/pscand.toml`:
|
Configuration is stored in `/etc/pscand/pscand.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[daemon]
|
# Scanner plugin directories
|
||||||
log_level = "info"
|
scanner_dirs = ["~/.local/share/pscand/scanners"]
|
||||||
scanner_dirs = ["/usr/lib/pscand/scanners"]
|
|
||||||
|
|
||||||
|
# Where to store log files
|
||||||
|
log_dir = "~/.local/share/pscand/logs"
|
||||||
|
|
||||||
|
# Per-scanner configuration (interval in seconds)
|
||||||
[scanners.system]
|
[scanners.system]
|
||||||
enabled = true
|
enabled = true
|
||||||
interval = 5000 # milliseconds
|
interval_secs = 5
|
||||||
|
|
||||||
[scanners.sensor]
|
[scanners.sensor]
|
||||||
enabled = true
|
enabled = true
|
||||||
interval = 10000
|
interval_secs = 10
|
||||||
|
|
||||||
|
[scanners.power]
|
||||||
|
enabled = true
|
||||||
|
interval_secs = 30
|
||||||
|
|
||||||
|
[scanners.proc]
|
||||||
|
enabled = true
|
||||||
|
interval_secs = 5
|
||||||
```
|
```
|
||||||
|
|
||||||
### Scanner Directories
|
### Scanner Directories
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue