Sha256: 3825e326aaf2ca10c680e04cc642d27884a50d42048521e7b7b361bb1e802df8
Contents?: true
Size: 647 Bytes
Versions: 2
Compression:
Stored size: 647 Bytes
Contents
######### ## Adds support to monitor delayed_job processes through eye ######### # Watch the delayed_job processes using the build in template watch_process(:delayed_job); # Override start, restart and stop delayed_job tasks to so they call # the eye equivalents # namespace :unicorn do # ['start','restart','stop'].each do |cmd| # if Rake::Task.task_defined?("unicorn:#{cmd}") # Rake::Task["unicorn:#{cmd}"].clear_actions # # Reload or restart unicorn after the application is published # desc "#{cmd} unicorn through eye" # task cmd do # invoke "eye:#{cmd}", 'unicorn' # end # end # end # end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
negroku-2.0.0.pre7 | lib/negroku/tasks/eye/delayed_job.rake |
negroku-2.0.0.pre6 | lib/negroku/tasks/eye/delayed_job.rake |