$ composer require keized/maintenance-bundle
$ php bin/console app:maintenance on
$ php bin/console app:maintenance off
Add the following following file in your config/services/packages folder keized_maintenance.yaml
keized_maintenance:
template: '%kernel.project_dir%/templates/maintenance-custom.html'