site:maintenance

Switch site into maintenance mode

Usage:

drupal site:maintenance [arguments]
sma

Available arguments

Argument Details
mode commands.site.maintenance.arguments.mode[on/off]

Examples

  • Switch on maintenance
    drupal site:maintenance  on
    
  • Switch off maintenance
    drupal site:maintenance  off