lib/negroku/tasks/unicorn.rb in negroku-1.1.7 vs lib/negroku/tasks/unicorn.rb in negroku-1.1.8
- old
+ new
@@ -32,10 +32,10 @@
namespace :unicorn do
after "deploy:setup", "unicorn:setup"
desc "Setup unicorn configuration for this application."
task :setup, roles: :app do
template "unicorn.erb", "/tmp/unicorn.rb"
- run "#{sudo} mv /tmp/unicorn.rb #{shared_path}/config/"
+ run "mv /tmp/unicorn.rb #{shared_path}/config/"
end
after "deploy:cold", "unicorn:start"
after 'deploy:restart', 'unicorn:restart'
end