Commit 74081666891e521c53762f7e8f49d46f0e935a10
1 parent
f4603c14
Exists in
master
and in
1 other branch
Restart delayed job after restart
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
deploy/after_restart.rb
1 | +#send hoptoad deploy notification | ||
1 | run "cd #{release_path} && rake hoptoad:deploy TO=#{node[:environment][:framework_env]} USER=#{node[:owner_name]} REVISION=#{`cat #{release_path}/REVISION`}" | 2 | run "cd #{release_path} && rake hoptoad:deploy TO=#{node[:environment][:framework_env]} USER=#{node[:owner_name]} REVISION=#{`cat #{release_path}/REVISION`}" |
3 | +#restart delayed jobs | ||
4 | +run "sudo monit restart all -g pairwise2_jobs" |