Fix #1351: add maintenance mode

This commit is contained in:
Nicolas Lœuillet
2016-02-19 14:33:28 +01:00
parent 12b5a8cea1
commit fbbda94110
3 changed files with 13 additions and 1 deletions

View File

@ -200,3 +200,13 @@ scheb_two_factor:
kphoen_rulerz:
executors:
doctrine: true
lexik_maintenance:
authorized:
ips: ['127.0.0.1']
driver:
ttl: 3600
class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver'
response:
code: 503
status: "wallabag Service Temporarily Unavailable"