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