Commit 54aa663b

mo khan <mo@mokhan.ca>
2014-08-23 04:51:43
get nginx cap tasks working.
1 parent eefeb23
Changed files (1)
lib
capistrano
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