Commit 5f134027 authored by jz143's avatar jz143

Add Resque restart reminder after deploy

parent c907ab2d
...@@ -39,7 +39,16 @@ namespace :deploy do ...@@ -39,7 +39,16 @@ namespace :deploy do
end end
end end
desc 'Post-deploy messages'
task :post_deploy_msgs do
STDERR.puts "="*80
STDERR.puts "MANUAL STEPS AFTER DEPLOY"
STDERR.puts "="*80
STDERR.puts "Restart Resque worker as root: systemctl restart appstore_worker"
STDERR.puts "="*80
end
before 'deploy:check:linked_dirs', :upload_config before 'deploy:check:linked_dirs', :upload_config
after 'deploy:publishing', 'deploy:restart' after 'deploy:log_revision', :post_deploy_msgs
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment