Skip to content

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

Open
eanlain wants to merge 1 commit intomojombo:masterfrom
eanlain:bugfix-keepalive-stop
Open

Prevents god from resurrecting a keepalive process that has been stopped#251
eanlain wants to merge 1 commit intomojombo:masterfrom
eanlain:bugfix-keepalive-stop

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