-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Omit SIGTERM to certain processes during stop (#136)
* Refactor os/kill.KillTree * sendSignalsToProcesses: don't interrupt on kill error * Add os/kill.KillTreeWithExcludes * Add tests for KillTreeWithExcludes and KillTree * Add configuration of SIGTERM excludes via env var * Fix KillTree tests on Linux platforms * Set go 1.13.1 on travis * Add README entry about kill tree exclude, remove unused wrapWithStopAndCont parameter * Use good old KillTree for SIGTERMs when ALLEGRO_EXECUTOR_SIGTERM_EXCLUDE_PROCESSES not set * Don't exclude processes from kill for which name could not be read * Bring back 'pgrep -g' requirement to readme
- Loading branch information
1 parent
f073a42
commit a178620
Showing
8 changed files
with
310 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.