Terminate upon receipt of SIGTERM

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

Information

rb-gateway
master
3a74df7...

Reviewers

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.
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to master (a2f2cbf)