Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevents god from resurrecting a keepalive process that has been stopped #251

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eanlain
Copy link

@eanlain eanlain commented Nov 10, 2017

Fixes #250, where god continues to monitor and resurrect a process after executing god stop <task name>. This particular issue occurs when using keepalive, a custom stop command using a QUIT signal, and a process that does not terminate within the stop_timeout period.

This commit forces a return after the execution of ensure_stop and prevents god from writing a new PID - the PID of a process spawned to run the custom stop command - and continuing to track the process which was previously killed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant