namespace maintenance
enable
Creates a maintenance.json file.
Configuration
none
Usage
Output
Creates the file shared_path/config/maintenance.json with no content
enable_permanent
Creates a maintenance.json file.
Configuration
none
Usage
Output
Creates the file shared_path/config/maintenance.json with enabled_permanent: true
disable
Removes a maintenance.json file. Ony works if the maintenance mode wasnt set with enable_permanent, if so use disable_permanent.
Configuration
none
Usage
disable_permanent
Removes a maintenance.json file.
Usage
Output
none
Needs additional processing ie. apache with mod_rewrite and condition on existence of the file maintenance.json
and serving a maintenance html page.