mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-19 14:16:29 +00:00
Merge pull request #2551 from wallabag/remove-maintenance-bundle
Removed Maintenance bundle
This commit is contained in:
commit
01ad4d6a89
9 changed files with 0 additions and 112 deletions
|
@ -29,7 +29,6 @@ class AppKernel extends Kernel
|
||||||
new KPhoen\RulerZBundle\KPhoenRulerZBundle(),
|
new KPhoen\RulerZBundle\KPhoenRulerZBundle(),
|
||||||
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
|
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
|
||||||
new Craue\ConfigBundle\CraueConfigBundle(),
|
new Craue\ConfigBundle\CraueConfigBundle(),
|
||||||
new Lexik\Bundle\MaintenanceBundle\LexikMaintenanceBundle(),
|
|
||||||
new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
|
new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
|
||||||
|
|
||||||
// wallabag bundles
|
// wallabag bundles
|
||||||
|
|
|
@ -236,16 +236,6 @@ kphoen_rulerz:
|
||||||
executors:
|
executors:
|
||||||
doctrine: true
|
doctrine: true
|
||||||
|
|
||||||
lexik_maintenance:
|
|
||||||
authorized:
|
|
||||||
ips: ['127.0.0.1']
|
|
||||||
driver:
|
|
||||||
ttl: 3600
|
|
||||||
class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver'
|
|
||||||
response:
|
|
||||||
code: 503
|
|
||||||
status: "wallabag Service Temporarily Unavailable"
|
|
||||||
|
|
||||||
old_sound_rabbit_mq:
|
old_sound_rabbit_mq:
|
||||||
connections:
|
connections:
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -77,7 +77,6 @@
|
||||||
"paragonie/random_compat": "~1.0",
|
"paragonie/random_compat": "~1.0",
|
||||||
"craue/config-bundle": "~1.4",
|
"craue/config-bundle": "~1.4",
|
||||||
"mnapoli/piwik-twig-extension": "^1.0",
|
"mnapoli/piwik-twig-extension": "^1.0",
|
||||||
"lexik/maintenance-bundle": "~2.1",
|
|
||||||
"ocramius/proxy-manager": "1.*",
|
"ocramius/proxy-manager": "1.*",
|
||||||
"white-october/pagerfanta-bundle": "^1.0",
|
"white-october/pagerfanta-bundle": "^1.0",
|
||||||
"php-amqplib/rabbitmq-bundle": "^1.8",
|
"php-amqplib/rabbitmq-bundle": "^1.8",
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
Wartungsmodus
|
|
||||||
=============
|
|
||||||
|
|
||||||
Wenn du längere Aufgaben auf deiner wallabag Instanz ausführen willst, kannst du den Wartungsmodus aktivieren.
|
|
||||||
Keiner wird dann Zugang zu deiner Instanz haben.
|
|
||||||
|
|
||||||
Aktivieren des Wartungsmodus
|
|
||||||
----------------------------
|
|
||||||
|
|
||||||
Um den Wartungsmodus zu aktivieren, führe folgendes Kommando aus:
|
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
bin/console lexik:maintenance:lock -e=prod --no-interaction
|
|
||||||
|
|
||||||
Du kannst deine IP Adresse in ``app/config/config.yml`` setzen, wenn du Zugriff zu wallabag haben willst, auch wenn der Wartungsmodus aktiv ist. Zum Beispiel:
|
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
lexik_maintenance:
|
|
||||||
authorized:
|
|
||||||
ips: ['127.0.0.1']
|
|
||||||
|
|
||||||
|
|
||||||
Deaktivieren des Wartungsmodus
|
|
||||||
------------------------
|
|
||||||
|
|
||||||
Um den Wartungsmodus zu deaktivieren, führe dieses Kommando aus:
|
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
bin/console lexik:maintenance:unlock -e=prod
|
|
|
@ -57,6 +57,5 @@ Die Dokumentation ist in anderen Sprachen verfügbar :
|
||||||
developer/docker
|
developer/docker
|
||||||
developer/documentation
|
developer/documentation
|
||||||
developer/translate
|
developer/translate
|
||||||
developer/maintenance
|
|
||||||
developer/redis
|
developer/redis
|
||||||
developer/rabbitmq
|
developer/rabbitmq
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
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
|
|
|
@ -58,6 +58,5 @@ The documentation is available in other languages:
|
||||||
developer/docker
|
developer/docker
|
||||||
developer/documentation
|
developer/documentation
|
||||||
developer/translate
|
developer/translate
|
||||||
developer/maintenance
|
|
||||||
developer/redis
|
developer/redis
|
||||||
developer/rabbitmq
|
developer/rabbitmq
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
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 -e=prod
|
|
||||||
|
|
||||||
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 -e=prod
|
|
|
@ -58,6 +58,5 @@ La documentation est disponible dans d'autres langues :
|
||||||
developer/docker
|
developer/docker
|
||||||
developer/documentation
|
developer/documentation
|
||||||
developer/translate
|
developer/translate
|
||||||
developer/maintenance
|
|
||||||
developer/redis
|
developer/redis
|
||||||
developer/rabbitmq
|
developer/rabbitmq
|
||||||
|
|
Loading…
Reference in a new issue