Mike, look into the exec function. If you add some logic, you should be able to grab the pid and then tell it to kill the process, I haven't tried it myself, but I saw it earlier today in the docs
Ryan Hall (407) 852-8487 On Tue, Jul 9, 2013 at 4:23 PM, mike <[email protected]> wrote: > Is it possible to tell monit to kill -9 a process when init script stop > fails? My experience is monit will try to stop a hung process and is > sometimes not able to stop it via the init script and therefore the problem > is not auto resolved (and my tech cant resolve it via mmonit) as it > requires -9'ing the process. > > Thanks > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general >
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
