lib/mail_room/cli.rb in mail_room-0.1.0 vs lib/mail_room/cli.rb in mail_room-0.2.0
- old
+ new
@@ -29,20 +29,16 @@
self.coordinator = Coordinator.new(configuration.mailboxes)
end
def start
Signal.trap(:INT) do
- stop
+ coordinator.running = false
end
Signal.trap(:TERM) do
exit
end
coordinator.run
- end
-
- def stop
- coordinator.quit
end
end
end