Commit graph

9 commits

Author SHA1 Message Date
Bruno BELANYI ad420dc874 config: store and parse 'filter' as regex 2021-04-10 02:05:01 +02:00
Bruno BELANYI 54f67887aa config: add optional filter option for units
This allows the user to write:

```yaml
units:
- foo.service
- bar.service
- name: baz.service
  filter: "^Error: .*$"
```

So a unit can be provided as a string, or as a map which contains both
`name` and `filter`.
2021-04-10 02:05:01 +02:00
Antoine Martin 21921a6729 cargo: bump dependencies
tokio v1.2.0
2021-02-07 19:49:24 +01:00
Antoine Martin dc85ff17e5 bot: watch journald and send events 2021-02-07 19:02:24 +01:00
Antoine Martin 3f08ec6b26 use anyhow/thiserror for error handling 2021-02-02 06:31:10 +01:00
Antoine Martin 65bad5849d yaml > json 2021-02-02 06:12:29 +01:00
Antoine Martin ab08f6e0f3 use single config file 2021-02-02 06:04:06 +01:00
Antoine Martin e6e41b9ad2 reuse previous session information 2021-02-02 05:37:43 +01:00
Antoine Martin 1679ccb759 Initial commit 2021-02-02 04:20:27 +01:00