search for: stop_backgroundrb

Displaying 5 results from an estimated 5 matches for "stop_backgroundrb".

2006 Aug 24
5
Unable to start with Capistrano...
...t_backgroundrb do puts "Starting BackgrounDRb" #--- assumes the backgroundrb.yml is set up for production run "export RAILS_ENV=production && #{current_path}/script/backgroundrb/start -d" end desc ''Stop backgroundrb server (default values)'' task :stop_backgroundrb do puts "Stopping BackgrounDRb" begin run "#{current_path}/script/backgroundrb/stop" rescue end end I''m no doubt missing something obvious. Cheers, Brett
2007 Mar 12
7
Capistrano Hanging on Deployment
...permail/backgroundrb-devel/2007-February/000718.html My Version: ~~~~~~~~~~~~ task :before_restart, :roles => :app do restart_backgroundrb end task :start_backgroundrb, :roles => :app do sudo "nohup /var/www/rails/#{application}/current/script/backgroundrb/start " end task :stop_backgroundrb, :roles => :app do sudo "kill -9 `cat /var/www/rails/#{application}/current/log/backgroundrb.pid` 2>/dev/null; true" end task :restart_backgroundrb, :roles => :app do stop_backgroundrb start_backgroundrb end ~~~~~~~~~~~~ The backgroundrb server is stopped and started b...
2007 Feb 05
3
Deploying to production with backgroundrb (capistrano)
I have noticed that occasionally (about 50% of the time) when i deploy (using capistrano) my app to a production server, i have to ssh into the box and manually stop and start backgroundrb to get it to load my workers. this is my basic setup i have 2 workers: lib/workers/mp3_worker.rb => takes a hash of params to downsample an mp3 lib/workers/flv_worker.rb => takes a has of
2008 Mar 28
5
Upgrading from older version - how?
Hi there, We''ve been using previous version of bdrb (drb based one) for a while and it was running relatively OK. We recently attempted to upgrade to the new version to keep up / use supported version but we ended up reverting to the older version. Here are the things that moved us to revert : 1) With the workers we never manage to pass this error: '''' You have a nil
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
...to the BackgrounDRb server" error. Initially, when I didn''t start the BDRb server manually, I got: * executing `after_update_code'' * executing `set_env_staging'' ENV[''RAILS_ENV''] = staging * executing `restart_backgroundrb'' * executing `stop_backgroundrb'' * executing "cd /var/www/apps/my_app/releases/20080501133415 && ./ script/backgroundrb -e staging stop" servers: ["staging.my_app.com"] [staging.my_app.com] executing command ** [out :: staging.my_app.com] ./script/backgroundrb:46:in `initialize''...