Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 447 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 447 Bytes

Magento Scripts

maintmode.sh

Installation

cp maintmode.sh /usr/local/bin
chmod +x /usr/local/bin/maintmode.sh

Usage

$(basename $0) [-d|-e]

y OR n to confirm placing all stores in the domain group in to / out of maintenance mode.

Examples

Enable maintenance mode

cd /microcloud/domains/example
maintmode.sh -e

Disable maintenance mode

cd /microcloud/domains/example
maintmode.sh -e