lib/eycap/recipes/nginx.rb in engineyard-eycap-0.4.9 vs lib/eycap/recipes/nginx.rb in engineyard-eycap-0.4.10

- old
+ new

@@ -1,15 +1,15 @@ Capistrano::Configuration.instance(:must_exist).load do namespace :nginx do desc "Start Nginx on the app slices." task :start, :roles => :app do - sudo "/etc/init.d/nginx start" + sudo "nohup /etc/init.d/nginx start > /dev/null" end desc "Restart the Nginx processes on the app slices." task :restart , :roles => :app do - sudo "/etc/init.d/nginx restart" + sudo "nohup /etc/init.d/nginx restart > /dev/null" end desc "Stop the Nginx processes on the app slices." task :stop , :roles => :app do sudo "/etc/init.d/nginx stop" \ No newline at end of file