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