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

orbit: start.sh: use exec to make shutdown work correctly again #158

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

charliemirabile
Copy link
Contributor

using exec in the shell script will make uwsgi become pid 1 again which means that it can handle sigterm properly. The memcached daemon that is running in the background will be unceremoniously killed off when uwsgi exits, but this is not a problem because it (being a ram only cache) does not have persistent state.

using exec in the shell script will make uwsgi become pid 1 again which
means that it can handle sigterm properly. The memcached daemon that is
running in the background will be unceremoniously killed off when uwsgi
exits, but this is not a problem because it (being a ram only cache) does
not have persistent state.
Copy link
Contributor

@michael-burke4 michael-burke4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@charliemirabile charliemirabile merged commit dbf2020 into master Sep 12, 2024
@charliemirabile charliemirabile deleted the fix_orbit_shutdown branch September 12, 2024 18:52
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