Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@doughazell
doughazell / gist:042ac3e8188f189282e757492072fa90
Last active September 2, 2016 15:09
Stopping Thin webserver after it's started via Rack::Server.start() in FnordMetric

##Forwarding signals arg passed to FnordMetric::Web Using gems 'fnordmetric-1.2.9' and 'thin-1.7.0', attempting to stop the Thin webserver using 'Ctrl-C ' after

FnordMetric::Web.new(port: 4242)

led to:

Stopping Thin ...
Thin was started inside an existing EventMachine.run block.
Call `EventMachine.stop` to stop the reactor and quit the process.