On 10/09/2014 10:39 AM, Kieren Hynd wrote:
Ah, OK - that works better.
I'd set ticker_interval to 0 as foo.sh would normally be a long-running
process (i was expecting to end up with multiple copies running if i set
it to something else).
Yup, this is correct.
My confusion about the retries came from this bit of the doc:
"In the event the program returns a non-zero exit code, ProcessInput
will stop"
Which implied the plugin itself would also stop (and be subjected to the
retries) if my command exited with a non-zero status.
This does indeed imply the behaviour you expected, and frankly it's
probably a good idea. Can you open an issue on this so it doesn't get lost?
Thanks,
-r
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka