Sha256: a5f89a2a03cdc2c967ab2b1533b0f43d8051c8474fc5bbaf8352800108f93010

Contents?: true

Size: 459 Bytes

Versions: 23

Compression:

Stored size: 459 Bytes

Contents

Standup.script :node do
  def run
    path_to_resque_exec = "#{scripts.webapp.app_path}/script/delayed_job"
    with_processed_file script_file('delayed_job') do |file|
      upload file,
             :to => path_to_resque_exec,
             :sudo => true
    end

    with_processed_file script_file('delayed_job_monit.conf') do |file|
      scripts.monit.add_watch file
    end
  end
  
  def restart
    scripts.monit.restart_watch 'delayed_job'
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
standup-0.6.9 scripts/delayed_job.rb
standup-0.6.8 scripts/delayed_job.rb
standup-0.6.7 scripts/delayed_job.rb
standup-0.6.6 scripts/delayed_job.rb
standup-0.6.5 scripts/delayed_job.rb
standup-0.6.4 scripts/delayed_job.rb
standup-0.6.3 scripts/delayed_job.rb
standup-0.6.2 scripts/delayed_job.rb
standup-0.6.1 scripts/delayed_job.rb
standup-0.6.0 scripts/delayed_job.rb
standup-0.5.14 scripts/delayed_job.rb
standup-0.5.13 scripts/delayed_job.rb
standup-0.5.11 scripts/delayed_job.rb
standup-0.5.10 scripts/delayed_job.rb
standup-0.5.9 scripts/delayed_job.rb
standup-0.5.8 scripts/delayed_job.rb
standup-0.5.7 scripts/delayed_job.rb
standup-0.5.6 scripts/delayed_job.rb
standup-0.5.5 scripts/delayed_job.rb
standup-0.5.4 scripts/delayed_job.rb