Maintenance File
Component type
Categories
Maintenance status
Development status
Downloads
Component created
Component changed
Put your site in maintenance mode by uploading a file.
This is a pretty simple module that checks for the presence of a file called 'maintenance.lock' in either the Drupal root directory or a site-specific directory (sites/mysite.com, for instance) and sets the site to maintenance mode if the file is present. This is very helpful for deployment scripts, such as Capistrano and the like, in which you don't always have ready access to the database, or when you want to take a lot of Drupal sites down at once without waiting for Drush to iterate over all of them.
