Terminate upon receipt of SIGTERM

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

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.
david
  1. Ship It!
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (a2f2cbf)
Loading...