[Radiant] Radiant and mongrel reloading.
Sean Cribbs
seancribbs at gmail.com
Mon Oct 8 09:09:38 CDT 2007
Are you using the mongrel_cluster gem? If so, I would change your
restart (1.4.1) or deploy:restart (2.x) task to look something like this:
task :restart, :roles => :app do
run "cd #{current_path}; mongrel_rails cluster::restart -C
/path/to/your/config"
end
Sean
Giovanni Intini wrote:
> For the first time ever (for me :)) I set up a radiant site on a nginx
> + mongrel setup (http://vincenzomaiorano.it) and it works fine, but I
> have a problem when I update the radiant code via capistrano, adding
> an extension or changing some values in environment.rb: my capistrano
> tasks call script/process/reaper after updating the code, thus
> restarting the mongrel processes.
>
> If I visit the site after I update I still find the older version of
> the site running, without the newer extensions. If I kill the mongrel
> processes and then I start them again everything runs fine.
>
> Is this the correct behavior?
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
>
More information about the Radiant
mailing list