[Backgroundrb-devel] Capistrano Hanging on Deployment
benr at x-cr.com
Mon Mar 12 13:47:22 EDT 2007
I am using the Capistrano recipe outlined in this post to restart my
task :before_restart, :roles => :app do
task :start_backgroundrb, :roles => :app do
task :stop_backgroundrb, :roles => :app do
sudo "kill -9 `cat
task :restart_backgroundrb, :roles => :app do
The backgroundrb server is stopped and started but hangs at the
start_backgroundrb task. Capistrano shows:
* executing task start_backgroundrb
* executing "sudo nohup
[host] executing command
** [out :: host] nohup: ignoring input and appending output to `nohup.out'
It will hang there and not restart the main web app process. I updated my
gems to see if this was a version issue, but am experiencing the same
problem. I also tried running this task :after_restart, the web app is
successfully restarted, but it still hangs.
Thanks in advance for any ideas on how to fix this.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel