Enabling Maintenance Mode
Now that the rules for maintenance mode has been setup, FileCloud can be switched to maintenance mode, by creating the following files.
| File | Location | Remarks |
|---|
maintenance.enable | WWWROOT/resources/ui/maintenance/maintenance.enable For example,
- in Windows, C:\xampp\htdocs\resources\ui\maintenance\maintenance.enable
- in Linux, /var/www/resources/ui/maintenance/maintenance.enable
| This can be an empty file. |
| maintanence.html | WWWROOT/resource/ui/maintenance/maintenance.html For example,
- in Windows, C:\xampp\htdocs\resources\ui\maintenance\maintenance.html
- in Linux, /var/www/resources/ui/maintenance/maintenance.html
The customized message can be specified in the maintenance.html file
| File containing custom html messages for maintenance mode |
Customizing the Maintenance Mode Notification Page
FileCloud maintenance mode notification page can be customized by editing the file WWWROOT/resource/ui/maintenance/maintenance.html. Any logos and css files that needs to be used in the html page can be placed under the same folder and referenced.
FileCloud maintenance mode can be switched off by deleting the file following you created:
$ WWWROOT/resource/ui/maintenance/maintenance.enable