Allow non-forked servises in start action

Issue #445 new
Vovodroid created an issue

Hi,

it seems that currently "start" action expects command to run in background, if it runs and doesn't return within timeout monit treats it as error.

It would be handy to allow starting of foreground command (like systemctl does).

Thank.

Comments (3)

  1. Matt Ghali

    This would also be great for us, and allow us to use monit to replace supervise. Right now when we need monit features, we deploy it along with supervise, which can cause unexpected behavior (like 'svc -d' not behaving like operators expect). Thanks for monit!

  2. Aleksey Arakelyan

    This will be a great feature for docker containers. Currently i need to use supervisord to work with foreground processes because he can run them in foreground mode and redirect their stdout to own stdout. But i would like to switch to monit because there is no method in supervisord to healthcheck processes and kill them if needed.

  3. Log in to comment