Sam.
unread,May 16, 2008, 5:56:03 AM5/16/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Phusion Passenger Discussions
Hi,
Passenger seems great, I'm testing it, and it will be soon in
production.
Thanks for this software !
I've a question : does a way exists to deactivate an application and
display a page to say something like "we're doing upgrade... see you
soon". Or at least just deactivate it.
Why deactivate ? Because when you're upgrading application some
database migrations will occur sometimes. Adding/Removing fields,
tables,... small batches to update data and so on. And it could be
very dangerous to do this when application is running !
With mongrel it is simple : stop... deploy and migrate... start.
I know it can done with Apache (changing config for the virtual host +
a graceful reload), but using Capistrano it will be be really useful
to have this. Something like a "stop.txt" ou "stop_message.html", as
simple as the "restart.txt". Perhaps something already exists ?
Sam.