Terminate upon receipt of SIGTERM

Review Request #10042 — Created June 27, 2018 and submitted — Latest diff uploaded

brennie
rb-gateway
master
10043
3a74df7...
rb-gateway

We currently don't handle graceful shutdown, which is the idiomatic way
of notifying processes that they should. This patch adds support for
that.

  • Ran go fmt ./....
  • Ran go test ./....
  • Ran kill -sTERM (pgrep rb-gateway); the process terminated cleanly.
    Loading...