Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sudo for unicorn service

  • Loading branch information...
commit 341e95d5bf74ee59d5ca19611d731265ec6d77fa 1 parent 53b709a
@cihad authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/recipes/unicorn.rb
View
2  config/recipes/unicorn.rb
@@ -19,7 +19,7 @@
%w[start stop restart].each do |command|
desc "#{command} unicorn"
task command, roles: :app do
- run "service unicorn_#{application} #{command}"
+ run "#{sudo} service unicorn_#{application} #{command}"
end
after "deploy:#{command}", "unicorn:#{command}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.