lib/resque/scheduler/env.rb in resque-scheduler-4.5.0 vs lib/resque/scheduler/env.rb in resque-scheduler-4.6.0
- old
+ new
@@ -36,13 +36,9 @@
!!options[:quiet]
else
true
end
- unless Process.respond_to?('daemon')
- abort 'background option is set, which requires ruby >= 1.9'
- end
-
Process.daemon(true, !Resque::Scheduler.quiet)
Resque.redis._client.reconnect
end
def setup_pid_file