[Backgroundrb-devel] Vlad the Deployer??

hemant kumar gethemant at gmail.com
Thu Mar 6 02:51:52 EST 2008


On Wed, 2008-03-05 at 07:53 +0100, Alex Peuchert wrote:
> Eric Pugh wrote:
> > I've been playing around with Vlad the deployer, and quite like it.   
> > However, has anyone used it to stop/start background rb processes via  
> > the ./script/backgroundrb script?
> >
> > Eric
> >
> > -----------------------------------------------------
> > Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com
> >
> >
> >
> > _______________________________________________
> > Backgroundrb-devel mailing list
> > Backgroundrb-devel at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/backgroundrb-devel
> >
> >   
> Hi Eric, I use vlad and have the following in my deploy.rb file:
> 
> namespace :vlad do
>   desc "Restart the backgroundrb server"
>   remote_task :start_app, :roles => :app do
>     run "cd #{current_path}; ./script/backgroundrb start -e #{RAILS_ENV}"
>   end
> 
>   desc "Stop the backgroundrb server"
>   remote_task :stop_app, :roles => :app do
>     run "cd #{current_path}; ./script/backgroundrb stop"
>   end
> end
> 

Neat,

I use capistrano. But alex, can you update documentation with this bit
of information?




More information about the Backgroundrb-devel mailing list