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

Fix signal handling #65

Merged
merged 1 commit into from
Oct 12, 2020
Merged

Fix signal handling #65

merged 1 commit into from
Oct 12, 2020

Conversation

goffi-contrib
Copy link
Contributor

This patch add exec to replace the shell running the entrypoint.sh
script by Prosody executable.

This allows Prosody to catch and handle correctly signals, notably
SIGTERM and SIGINT. Without it, Docker can't stop correctly the
container, resulting in a 10 s delay before it kills it.

This patch add `exec` to replace the shell running the `entrypoint.sh`
script by Prosody executable.

This allows Prosody to catch and handle correctly signals, notably
SIGTERM and SIGINT. Without it, Docker can't stop correctly the
container, resulting in a 10 s delay before it kills it.
@goffi-contrib
Copy link
Contributor Author

Please note that #63 PR should also fix the signal issue (it's using exec too), but as it seems stalled, I've made this one which should be mergeable straight away. Thanks!

@mwild1 mwild1 merged commit 3a21cd2 into prosody:master Oct 12, 2020
@LeSpocky LeSpocky mentioned this pull request Mar 21, 2021
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.

2 participants