Maintenance
readymage/maintenance
Preserves symlinks when disabling maintenance mode via CLI. Useful for distributed infrastructures where maintenance mode is triggered from a single replica.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Share This Module's Status
README
Loaded from GitHubReadyMage Maintenance
Magento 2 module which allows maintenance:disable command to preserve flag file symlinks.
Most common use case is for distributed infrastructure with multiple replicas where php-cli user from single replica can trigger maintenance mode which will be propagated trough other replicas.
Attention
This module only preserves symlinks. It will not create them from scratch if they did not exist prior. The initial symlink creation must be handled by CI/CD systems or manual actions.
Installation
Add to any Magento 2 project with following commands:
composer require readymage/maintenance --no-interaction --update-no-dev --prefer-dist
php bin/magento module:enable ReadyMage_Maintenance
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.