aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/en/developer/maintenance.rst
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-02-22 13:40:15 +0100
committerJeremy Benoist <j0k3r@users.noreply.github.com>2016-02-22 13:40:15 +0100
commit2b71f68c95acd20b9ee5e6dc4d67a1ec649fc440 (patch)
treea1f994e03bbd0fdc876dc041ce2b79ad1ad95302 /docs/en/developer/maintenance.rst
parentcd4d7f4b69e560167754af530ac5afc0534d41fd (diff)
parent437f1985b090c026a130420213d608e1b13e141a (diff)
downloadwallabag-2b71f68c95acd20b9ee5e6dc4d67a1ec649fc440.tar.gz
wallabag-2b71f68c95acd20b9ee5e6dc4d67a1ec649fc440.tar.zst
wallabag-2b71f68c95acd20b9ee5e6dc4d67a1ec649fc440.zip
Merge pull request #1701 from wallabag/v2-maintenance
Fix #1351: add maintenance mode
Diffstat (limited to 'docs/en/developer/maintenance.rst')
-rw-r--r--docs/en/developer/maintenance.rst32
1 files changed, 32 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 @@
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
14 bin/console lexik:maintenance:lock --no-interaction
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
32 bin/console lexik:maintenance:unlock