Feature #6935
closed
- Status changed from New to Resolved
I added an index-msg.html to the webapp directory to use when the site is being upgraded. It just has a simple "Site is offline, please check back soon" message.
This message can be activated by running a simple shell script - toggle-index.sh, which I added to a scripts directory in MetacatUI. This script will toggle between the two index.html files. This will make it easier and faster to put the under maintenance msg online and then turning the app back on during an upgrade. Example:
before Metacat upgrade
$ bash toggle-index.sh /var/www/www.site.com
--> Under maintenance msg is ON
After Metacat upgrade
$ bash toggle-index.sh /var/www/www.site.com
--> Under maintenance msg is OFF, site is back online
Also available in: Atom
PDF