Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup signal to trap SIGINT and gracefully stop server (#1377)
This way, when you send `SIGINT` to a running a server, when running via `rails s`, a graceful shutdown/stop will be performed. Before this, not trapping `SIGINT` would mean that either `Rails::Server#start` or `::Rack::Server#start` would be trapping `SIGINT` and exiting the process.
- Loading branch information