I know I can do

If 5 restarts in 5 cycles then timeout

And also

If 5 restarts in 5 cycles then exec "/path/to/cool/script"

But I can't figure out how to do this:

If 5 restarts in 5 cycles then timeout and exec "/path/to/cool/script"

It seems like monit is the logical place to put cleanup scripts for when a 
process can't be restarted.  How can I do this?

TIA,
Jason
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to