The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Revision history for Process-Govern

0.13    2014-09-06 (PERLANCAR)

	- Add option: --killfam.


0.12     2014-03-14 (SHARYANTO)

         - bin/govproc: Forgot to add cmdline options for 'show_std{out,err}'
           and 'log_stdout'.


0.11     2014-03-14 (SHARYANTO)

         [NEW FEATURES]

         - Add option: 'show_stderr' to allow hiding STDERR output (but
           optionally still logs it to file).

         - Add option 'show_stdout', 'log_stdout' to allow hiding and/or logging
           STDOUT output just like STDERR.


0.10     2014-03-14 (SHARYANTO)

         [INCOMPATIBLE CHANGES]

         - Change timeout exit code from 201 to 124 (following GNU coreutils'
           'timeout' utility).

         - Return exit code from govern_process() function, instead of exit(),
           so it's more usable.


0.09     2013-04-24 (SHARYANTO)

         - Add restarting (--restart).


0.08     2013-04-19 (SHARYANTO)

         - Add --version.

         - Fix POD [RT#84742] (thanks Slaven).


0.07     2013-04-18 (SHARYANTO)

         - Add load watching.


0.06     2013-04-17 (SHARYANTO)

         - Use exit code 202 to signify 'another instance running'. Document
           exit codes (currently only this and 201).

         - Show nicer process name for 'ps' (only 'govproc --opt' instead of
           '/path/to/perl /path/to/govproc --opt -- CMD --cmdopts ...'


0.05     2013-04-17 (SHARYANTO)

         - (internal) Change pump() loop from using 'sleep 0.1' to using
           timeout(1) object, which is more proper.


0.04     2013-04-17 (SHARYANTO)

         [BUG FIXES]

         - Install TERM handler (and INT) to kill child.

         - Add temporary workaround for 'unless ($h->pump_nb) { sleep 1 }' not
           working (causes busy loop), by using 'sleep 0.1'.


0.03     2013-04-17 (SHARYANTO)

         [INCOMPATIBLE CHANGES]

         - Rename --single to --single-instance.

         [BUG FIXES]

         - Single instance didn't work (bug in Proc::PID::File? one must use
           running() instead of new()+alive()).

         - --name and --pid-dir was not passed.

         [ENHANCEMENTS]

         - Add --on-multiple-instance which can be set to 'exit' to silently
           exit when there is another instance running (instead of displaying an
           error message).


0.02     2012-12-28 (SHARYANTO)

         No functional changes. Touch up POD and update dependencies.


0.01     2012-12-26 (SHARYANTO)

         First release.