Skip to content

RFE: catch sigterm/sigint/sigquit #15

@martinetd

Description

@martinetd

If a job is cancelled, SelFIe will not log anything when the process is killed.

It is possible to intercept the stop signals (int term quit) and print stats (& remember it's been printed to avoid duplicates if handled properly?) then propagate (get existing handler, handle, call next one; if no next one unregister oneself and send again maybe? would need to check that part) so one could get logs on jobs being cancelled, unless they're stuck in IO or something until sigkill finally comes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions