diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2016-02-22 12:49:49 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2016-02-22 12:49:49 +0100 |
commit | 437f1985b090c026a130420213d608e1b13e141a (patch) | |
tree | 4193252f699cec13bdb5202ff03dd81909babd67 /docs/en | |
parent | 5bcf1afd91d6a22dd301fedc99384ad83a634695 (diff) | |
download | wallabag-437f1985b090c026a130420213d608e1b13e141a.tar.gz wallabag-437f1985b090c026a130420213d608e1b13e141a.tar.zst wallabag-437f1985b090c026a130420213d608e1b13e141a.zip |
documentation for maintenance mode
Diffstat (limited to 'docs/en')
-rw-r--r-- | docs/en/developer/maintenance.rst | 32 | ||||
-rw-r--r-- | docs/en/index.rst | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/docs/en/developer/maintenance.rst b/docs/en/developer/maintenance.rst new file mode 100644 index 00000000..8277fb1f --- /dev/null +++ b/docs/en/developer/maintenance.rst | |||
@@ -0,0 +1,32 @@ | |||
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 | ||
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 | ||
diff --git a/docs/en/index.rst b/docs/en/index.rst index 17e375d2..1bac9ed7 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst | |||
@@ -41,3 +41,4 @@ The main documentation for this application is organized into a couple sections: | |||
41 | 41 | ||
42 | developer/docker | 42 | developer/docker |
43 | developer/translate | 43 | developer/translate |
44 | developer/maintenance | ||