Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-07 | event-handler: T3083: Extended event-handler features | zsdc | |
* Added the ability to filter by a syslog identifier * Added the ability to pass arguments to a script * Added the ability to pass preconfigured environment variables to a script * A message that triggered a script is now passed in the `message` variable and can be used in a script * Replaced `call()` to `run()`, since stdout are not need to be printed | |||
2022-06-06 | event-handler: T3083: Optimized event-handler | zsdc | |
* Removed dynamic generating for systemd unit * Optimized configuration file deleting process * Added exceptions handlers to event-handler script to protect service from most obvious potential troubles * Improved logging * Moved pattern compilation outside a messages loop to avoid extra operations * Added signal handlers for proper systemd integration |