summaryrefslogtreecommitdiff
path: root/lib/oxidized/hook.rb
AgeCommit message (Collapse)Author
2015-11-13better test framework, more specs and Travis CIElvin Efendi
2015-09-17restore ruby 1.9.3 compatibility0.8.1Saku Ytti
fix some whitespaces bump up gemspec version
2015-08-28Initial implementation of the hook featureAnton Aksola
The current implementation is modular and allows users to define hooks in several ways: * Use one of the built-in hook types (currently only 'exec') * Define their own Hook classes inside ~/.config/oxidized/hook Exec hook type runs a user defined command with or without shell. It populates a bunch of environment variables with metadata. The command can either be run as synchronous or asynchronous. The default is synchronous.