Re: monit doesn't run stop action

2019-03-05 Thread SZÉPE Viktor
Idézem/Quoting Marc Rossi : Yeah was looking through the code and saw the call to check if process is running before issuing stop (ProcessTree_findProcess), so that was only thought I had as well. check process foo matching /usr/local/bin/foo.py start program = "/bin/bash -l -c 'nohup /us

Re: monit doesn't run stop action

2019-03-05 Thread Marc Rossi
Yeah was looking through the code and saw the call to check if process is running before issuing stop (ProcessTree_findProcess), so that was only thought I had as well. check process foo matching /usr/local/bin/foo.py start program = "/bin/bash -l -c 'nohup /usr/local/bin/foo.py &'" as uid "

[Announce] Monit 5.25.3

2019-03-05 Thread mart...@tildeslash.com
Hi, all We have just released Monit 5.25.3 Download: https://mmonit.com/monit/#download Release Notes: == This release contains two important security fixes, monit upgrade is highly recommended. Please see https://mmonit.com/monit/changes/ for a complete and detailed list

Re: monit doesn't run stop action

2019-03-05 Thread mart...@tildeslash.com
Hi, please can you add the configuration of "foo" and "bar" services? There are for example these possible reasons: 1.) the "bar" service is a process and monit detected that the process is not running - in this case it gets a fast path and stop is skipped (the process is not running) 2.) the

monit doesn't run stop action

2019-03-05 Thread Marc Rossi
Looking through source right now but figured I'd throw it out to list to see if this is something obvious I'm doing wrong. Long time monit user but on a few of our apps we have recently been having problems with the shutdown action possibly not running. For the app that DOES shut down properly lo