mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-09 08:25:25 +00:00
documentation for maintenance mode
This commit is contained in:
parent
5bcf1afd91
commit
437f1985b0
4 changed files with 67 additions and 0 deletions
32
docs/en/developer/maintenance.rst
Normal file
32
docs/en/developer/maintenance.rst
Normal file
|
@ -0,0 +1,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
|
||||||
|
|
||||||
|
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
|
|
@ -41,3 +41,4 @@ The main documentation for this application is organized into a couple sections:
|
||||||
|
|
||||||
developer/docker
|
developer/docker
|
||||||
developer/translate
|
developer/translate
|
||||||
|
developer/maintenance
|
||||||
|
|
33
docs/fr/developer/maintenance.rst
Normal file
33
docs/fr/developer/maintenance.rst
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
Mode maintenance
|
||||||
|
================
|
||||||
|
|
||||||
|
Si vous devez effectuer de longues tâches sur votre instance de wallabag, vous pouvez activer le mode maintenance.
|
||||||
|
Plus personne ne pourra accéder à wallabag.
|
||||||
|
|
||||||
|
Activer le mode maintenance
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
Pour activer le mode maintenance, exécutez cette commande :
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
bin/console lexik:maintenance:lock --no-interaction
|
||||||
|
|
||||||
|
Vous pouvez spécifier votre adresse IP dans ``app/config/config.yml`` si vous souhaitez accéder à wallabag même si
|
||||||
|
le mode maintenance est activé. Par exemple :
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
lexik_maintenance:
|
||||||
|
authorized:
|
||||||
|
ips: ['127.0.0.1']
|
||||||
|
|
||||||
|
|
||||||
|
Désactiver le mode maintenance
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
Pour désactiver le mode maintenance, exécutez cette commande :
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
bin/console lexik:maintenance:unlock
|
|
@ -42,3 +42,4 @@ La documentation principale de cette application est découpée en plusieurs sec
|
||||||
|
|
||||||
developer/docker
|
developer/docker
|
||||||
developer/translate
|
developer/translate
|
||||||
|
developer/maintenance
|
||||||
|
|
Loading…
Reference in a new issue