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

global: fix graceful shutdown #526

Merged
merged 1 commit into from
Sep 26, 2023

Commits on Sep 21, 2023

  1. global: fix graceful shutdown

    When using the shell form of `CMD`, the provided command is executed
    using `/bin/sh -c`, which breaks signal propagation. Use `exec` to
    substitute the `sh` process and fix handling of signals by uwsgi.
    
    Also handle SIGTERM in `consume-job-queue` to gracefully stop consuming
    the job status queue.
    
    Closes reanahub/reana-job-controller#347
    mdonadoni committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    a2c5baa View commit details
    Browse the repository at this point in the history