Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Mon should wait for the child process to exit before exiting #24

Closed
djanowski opened this Issue Apr 5, 2013 · 4 comments

Comments

Projects
None yet
2 participants

Some times I do need to restart Mon itself. In this case, I send Mon a SIGTERM. The problem is that it exits immediately without waiting for the child to exit (and possibly clearing its pidfile).

If you agree this behavior is what pretty much everyone would expect, then I'll submit a patch.

Owner

tj commented Apr 5, 2013

hmm we do relay the signal in graceful_exit(), beyond delivering the signal im not sure how i feel about having mon hanging around

Owner

tj commented Jun 1, 2013

changed my mind on this however i added it to node-mongroup for now

Owner

tj commented Jun 10, 2013

added

@tj tj closed this Jun 10, 2013

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment