Module: CarrotRpc::ServerRunner::Signals
- Defined in:
- lib/carrot_rpc/server_runner/signals.rb
Overview
Traps all the signals NAMES that should be intercepted by a long-running background process.
Constant Summary collapse
- NAMES =
The name of the signals to trap.
%w(HUP INT QUIT TERM).freeze
Class Method Summary collapse
-
.trap {|name| ... } ⇒ void
Traps all NAMES.