]> git.immae.eu Git - github/wallabag/wallabag.git/blob - docs/en/developer/maintenance.rst
Fixed typo in "first_steps"
[github/wallabag/wallabag.git] / docs / en / developer / maintenance.rst
1 Maintenance mode
2 ================
3
4 If you have some long tasks to do on your wallabag instance, you can enable a maintenance mode.
5 Nobody will have access to your instance.
6
7 Enable maintenance mode
8 -----------------------
9
10 To enable maintenance mode, execute this command:
11
12 ::
13
14 bin/console lexik:maintenance:lock --no-interaction -e=prod
15
16 You 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
25 Disable maintenance mode
26 ------------------------
27
28 To disable maintenance mode, execute this command:
29
30 ::
31
32 bin/console lexik:maintenance:unlock -e=prod