Set Drupal 9 into maintance mode using Drush 10 code example Example: maintenance mode drupal 7 drush drush vset maintenance_mode 1