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

feat(fusion-cli): add graceful shutdown to start command #758

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pheew
Copy link

@pheew pheew commented Oct 19, 2020

This PR proposes to add signal handling to the $ fusion start command. This solves 2 issues:

  1. In a docker container the nodejs process is PID 1 which causes the fusion start command to not stop on SIGINT or SIGTERM. This will make sure fusion actually listens and respects these signals.
  2. fusion start will gracefully exit and allows open connections to finish

@CLAassistant
Copy link

CLAassistant commented Oct 19, 2020

CLA assistant check
All committers have signed the CLA.

@ganemone ganemone added the ci label Oct 19, 2020
ganemone
ganemone previously approved these changes Oct 20, 2020
lhorie
lhorie previously approved these changes Oct 20, 2020
@pheew pheew dismissed stale reviews from lhorie and ganemone via e1ca0f0 November 9, 2020 08:23
@pheew pheew requested review from lhorie and ganemone November 9, 2020 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants