lib/good_job/cli.rb in good_job-3.15.0 vs lib/good_job/cli.rb in good_job-3.15.1
- old
+ new
@@ -90,13 +90,13 @@
def start
set_up_application!
GoodJob.configuration.options.merge!(options.symbolize_keys)
configuration = GoodJob.configuration
+ capsule = GoodJob.capsule
Daemon.new(pidfile: configuration.pidfile).daemonize if configuration.daemonize?
- capsule = GoodJob::Capsule.new
capsule.start
if configuration.probe_port
probe_server = GoodJob::ProbeServer.new(port: configuration.probe_port)
probe_server.start