lib/arsenicum/main.rb in arsenicum-0.3.0 vs lib/arsenicum/main.rb in arsenicum-0.3.1

- old
+ new

@@ -50,11 +50,14 @@ Arsenicum::Logger.configure config.logger_config end def trap_signal [:TERM, :INT,].each do |sig| - queues.each(&:stop) - exit 1 + Signal.trap sig do +puts "signal received" + queues.each(&:stop) + exit 1 + end end end autoload :RailsMain, 'arsenicum/main/rails_main' end