[Radiant] Radiant and mongrel reloading.

2007-10-08 Thread Giovanni Intini
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/p

Re: [Radiant] Radiant and mongrel reloading.

2007-10-08 Thread Sean Cribbs
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

Re: [Radiant] Radiant and mongrel reloading.

2007-10-08 Thread Aitor Garay-Romero
For debugging, check the PIDs of the relevant processes before/after the restart to check that they actually restarted correctly. /AITOR On 10/8/07, Giovanni Intini <[EMAIL PROTECTED]> wrote: > > For the first time ever (for me :)) I set up a radiant site on a nginx > + mongrel setup (htt

Re: [Radiant] Radiant and mongrel reloading.

2007-10-08 Thread Giovanni Intini
I'm launching the mongrels via process/spawner, does it use the mongrel_cluster gem? 2007/10/8, Sean Cribbs <[EMAIL PROTECTED]>: > 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, :role

Re: [Radiant] Radiant and mongrel reloading.

2007-10-08 Thread Giovanni Intini
The PIDs change after restart. 2007/10/8, Aitor Garay-Romero <[EMAIL PROTECTED]>: > For debugging, check the PIDs of the relevant processes before/after the > restart to check that they actually restarted correctly. > > /AITOR > ___ Radiant maili