put site in maintenance mode drupal 8 code example Example: maintenance mode drupal 7 drush drush vset maintenance_mode 1