]> git.immae.eu Git - github/wallabag/wallabag.git/blame - docs/en/developer/maintenance.rst
Merge pull request #2624 from Rurik19/master
[github/wallabag/wallabag.git] / docs / en / developer / maintenance.rst
CommitLineData
437f1985
NL
1Maintenance mode
2================
3
4If you have some long tasks to do on your wallabag instance, you can enable a maintenance mode.
5Nobody will have access to your instance.
6
7Enable maintenance mode
8-----------------------
9
10To enable maintenance mode, execute this command:
11
12::
13
ba692168 14 bin/console lexik:maintenance:lock --no-interaction -e=prod
437f1985
NL
15
16You can set your IP address in ``app/config/config.yml`` if you want to access to wallabag even if maintenance mode is enabled. For example:
17
18::
19
20 lexik_maintenance:
21 authorized:
22 ips: ['127.0.0.1']
23
24
25Disable maintenance mode
26------------------------
27
28To disable maintenance mode, execute this command:
29
30::
31
ba692168 32 bin/console lexik:maintenance:unlock -e=prod