exec/chained-daemon.rb in opener-chained-daemon-2.2.2 vs exec/chained-daemon.rb in opener-chained-daemon-3.0.0
- old
+ new
@@ -2,7 +2,10 @@
require 'opener/daemons'
require_relative '../lib/opener/chained_daemon'
+webservice = Rack::Server.new app: Opener::ChainedDaemon::Webservice.freeze.app
+Thread.new{ webservice.start }
+
daemon = Opener::Daemons::Daemon.new Opener::ChainedDaemon
daemon.start