cp maintmode.sh /usr/local/bin
chmod +x /usr/local/bin/maintmode.sh
$(basename $0) [-d|-e]
y OR n to confirm placing all stores in the domain group in to / out of maintenance mode.
cd /microcloud/domains/example
maintmode.sh -e
cd /microcloud/domains/example
maintmode.sh -e