diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/capistrano/tasks/delayed_job.rake | 4 | ||||
| -rw-r--r-- | lib/capistrano/tasks/unicorn.rake | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/capistrano/tasks/delayed_job.rake b/lib/capistrano/tasks/delayed_job.rake index d62f4b96..ffda9b6c 100644 --- a/lib/capistrano/tasks/delayed_job.rake +++ b/lib/capistrano/tasks/delayed_job.rake @@ -6,14 +6,12 @@ namespace :delayed_job do execute :sudo, "service delayed_job_#{fetch(:application)} #{command}" end end - #after "deploy:#{command}", "delayed_job:#{command}" - #after "deploy:finish", "delayed_job:restart" end desc "tail the delayed jobs logs on an app server (cap staging delayed_job:logs)" task :logs do on roles(:app) do - stream "tail -f #{fetch(:shared_path)}/log/delayed_job.log" + stream "tail -F #{fetch(:shared_path)}/log/delayed_job.log" end end end diff --git a/lib/capistrano/tasks/unicorn.rake b/lib/capistrano/tasks/unicorn.rake index a54643dd..caf05132 100644 --- a/lib/capistrano/tasks/unicorn.rake +++ b/lib/capistrano/tasks/unicorn.rake @@ -6,7 +6,6 @@ namespace :unicorn do execute "service unicorn_#{fetch(:application)} #{command}" end end - #after "deploy:finished", "unicorn:restart" end desc "tail the logs on an app server (cap staging unicorn:logs)" |
