[Backgroundrb-devel] Vlad the Deployer??

Eric Pugh epugh at opensourceconnections.com
Wed Mar 5 20:52:44 EST 2008


Wow...  That seems too easy...

I'll have to check, but I don't think when I start things that I pass  
a -e #{RAILS_ENV} with the 1.0.3 version of backgroundrb!

Eric
On Mar 5, 2008, at 1:53 AM, 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
>
>
> -Alex
>

-----------------------------------------------------
Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com





More information about the Backgroundrb-devel mailing list