aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/en/developer/maintenance.rst
blob: 6d55ed601eaaaa43a25fd56afa07c123624d880e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Maintenance mode
================

If you have some long tasks to do on your wallabag instance, you can enable a maintenance mode.
Nobody will have access to your instance.

Enable maintenance mode
-----------------------

To enable maintenance mode, execute this command:

::

    bin/console lexik:maintenance:lock --no-interaction -e=prod

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:

::

    lexik_maintenance:
        authorized:
            ips: ['127.0.0.1']


Disable maintenance mode
------------------------

To disable maintenance mode, execute this command:

::

    bin/console lexik:maintenance:unlock -e=prod