diff options
| author | mo khan <mo@mokhan.ca> | 2014-08-22 22:51:43 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-08-22 22:51:43 -0600 |
| commit | 54aa663b8671205cffb7e6741fccacea9518d423 (patch) | |
| tree | 02b55f74480a25585adba1881d863c8acc1e08ef /lib | |
| parent | eefeb2337b394a090051b491cc666f5fe291ec8f (diff) | |
get nginx cap tasks working.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/capistrano/tasks/nginx.rake | 2 |
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 |
