Page MenuHomeSoftware Heritage

cli: Raise SystemExit when getting a SIGTERM or SIGINT
AbandonedPublic

Authored by olasd on Nov 14 2019, 7:37 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Summary

This allows us to properly clean up when we get killed, for instance when
running under systemd. Notably, this allows exiting the consumer group in an
orderly fashion.

Depends on D2281

Test Plan

This is running in production on uffizi

Diff Detail

Repository
rDJNL Journal infrastructure
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 9035
Build 13207: tox-on-jenkinsJenkins
Build 13206: arc lint + arc unit