summaryrefslogtreecommitdiff
path: root/lib/capistrano
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-08-22 22:51:43 -0600
committermo khan <mo@mokhan.ca>2014-08-22 22:51:43 -0600
commit54aa663b8671205cffb7e6741fccacea9518d423 (patch)
tree02b55f74480a25585adba1881d863c8acc1e08ef /lib/capistrano
parenteefeb2337b394a090051b491cc666f5fe291ec8f (diff)
get nginx cap tasks working.
Diffstat (limited to 'lib/capistrano')
-rw-r--r--lib/capistrano/tasks/nginx.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/capistrano/tasks/nginx.rake b/lib/capistrano/tasks/nginx.rake
index 64eed1d6..d4061b25 100644
--- a/lib/capistrano/tasks/nginx.rake
+++ b/lib/capistrano/tasks/nginx.rake
@@ -3,7 +3,7 @@ namespace :nginx do
desc "#{command} nginx"
task command do
on roles(:web) do
- run "#{sudo} service nginx #{command}"
+ execute :sudo, "service nginx #{command}"
end
end
end