systemd journal watcher daemon in ruby
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
797 B

  1. # [optional]
  2. # *flags* is systemd-journal flags
  3. # a combination of local, runtime, system
  4. # local: Only open journal files generated on the local machine.
  5. # runtime: Only open non-persistent journal files.
  6. # system: Only open kernel and system service journal files.
  7. flags: [local]
  8. # [required]
  9. # *filter* is systemd filter
  10. # _exe: "/usr/bin/ruby-mri" will be converted to _EXE=/usr/bin/ruby-mri
  11. #
  12. # @see `man 7 systemd.journal-fields`
  13. filter:
  14. _exe: "/usr/bin/ruby-mri"
  15. # [required]
  16. mail:
  17. from: "[email protected]" # from address
  18. to: "[email protected]" # to addresses
  19. subject: "[Journald Watcher]" # subject prefix
  20. # [optional]
  21. # one of emerg, alert, crit, err, warning, notice, info, debug
  22. # debug if nothing specified or incorrect
  23. min_priority: warning