Wednesday, 14 August 2013

Multiple Rails Applications on same server using Passenger. Restarting Apache

Multiple Rails Applications on same server using Passenger. Restarting Apache

I have two Ruby on Rails Web Applications that are running as different
Virtual Hosts. They use Apache/Passenger.
My question is that when I update the code on one of the Web Applications,
I need to restart Apache in order to make the changes live. Whenever this
happens, it restarts the Apache instance which affects the second Ruby on
Rails application.
Is there a way to have the new code of my first application go live
without affecting the second application? sudo service apache2 restart
causes both applications to restart.

No comments:

Post a Comment