06.10.2016 Views

laravel-5

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuration 63<br />

1 php artisan down --message='Upgrading Database' --retry=60<br />

To disable maintenance mode, use the up command:<br />

1 php artisan up<br />

Maintenance Mode Response Template<br />

The default template for maintenance mode responses is located in resources/views/errors/503.blade.php.<br />

You are free to modify this view as needed for your application.<br />

Maintenance Mode & Queues<br />

While your application is in maintenance mode, no queued jobs will be handled. The jobs will<br />

continue to be handled as normal once the application is out of maintenance mode.<br />

Alternatives To Maintenance Mode<br />

Since maintenance mode requires your application to have several seconds of downtime, you may<br />

consider alternatives like Envoyer⁴¹ to accomplish zero-downtime deployment with Laravel.<br />

⁴¹https://envoyer.io

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!