Ezra Zygmuntowicz wrote:

> The nohup has to be in the cap recipe not in a script on the server.
> 
> task :restart, :roles => :app do
>   run 'kill `ps aux | grep push_server | grep -v grep | cut -c 10-15`'
>   run 'cp ~/juggernaut.yml champion/current/config/'
>   run 'chmod 755 ~/champion/current/public ' +
>                 '~/champion/current/public/dispatch*'
>   run "cd #{current_path} && nohup ./script/start_juggernaut.sh &"
> end

I tried something similar first:

   run "cd #{current_path} ; nohup ruby script/push_server &"

-- 
  Phlip
  http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to