Configs refactor. New WIP config for activity watch like reaction server
This commit is contained in:
@ -27,7 +27,7 @@ streams:
|
||||
ssh:
|
||||
# note that if the command is not in environment's `PATH`
|
||||
# its full path must be given.
|
||||
cmd: [ "journalctl" "-fu" "sshd.service" ]
|
||||
cmd: [ "journalctl" "-n0" "-fu" "sshd.service" ]
|
||||
# filters run actions when they match regexes on a stream
|
||||
filters:
|
||||
# filters have a user-defined name
|
@ -97,7 +97,7 @@ cat FILE | ` + bold + `reaction test-regex` + reset + ` REGEX # test REGEX again
|
||||
`)
|
||||
}
|
||||
|
||||
//go:embed reaction.yml
|
||||
//go:embed example.yml
|
||||
var exampleConf string
|
||||
|
||||
func Main() {
|
||||
|
Reference in New Issue
Block a user