# File lib/thin/server.rb, line 216 def setup_signals trap('INT') { stop! } trap('TERM') { stop } unless Thin.win? trap('QUIT') { stop } trap('HUP') { restart } end end