enable

Creates a maintenance.json file.

Configuration

none

Usage

$ cap dev maintenance:enable

Output

Creates the file shared_path/config/maintenance.json with no content

enable_permanent

Creates a maintenance.json file.

Configuration

none

Usage

$ cap dev maintenance:enable_permanent

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

$ cap dev maintenance:disable

disable_permanent

Removes a maintenance.json file.

Usage

$ cap dev maintenance:disable_permanent

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.

Search Results powered by Algolia Search