lib/capistrano/tasks/monit.rake in capistrano-sidekiq-0.5.4 vs lib/capistrano/tasks/monit.rake in capistrano-sidekiq-0.10.0
- old
+ new
@@ -117,9 +117,15 @@
if fetch(:sidekiq_log)
"--logfile #{fetch(:sidekiq_log)}"
end
end
+ def sidekiq_require
+ if fetch(:sidekiq_require)
+ "--require #{fetch(:sidekiq_require)}"
+ end
+ end
+
def sidekiq_options_per_process
fetch(:sidekiq_options_per_process) || []
end
def sudo_if_needed(command)