...
Code Block | ||
---|---|---|
| ||
./install-and-update.sh myrelease.zip |
Called with the following parameters
The script does some maintenance tasks as listed below:
Argument | Action |
---|---|
--help | Shows the latest usage information, basically the same information as on this page. |
--check | Shows some status information about the current installation, to decide if maintenance mode is needed or not. For example how many users are currently logged in. |
--maintenance | Shows maintance mode status |
--maintenance TIME | Set the start of maintenance to TODAY TIME, TIME must be in format 13:47 |
--maintenance TIME "MESSAGE WITH QUOTES" | Same as above, but sets additionally a freetext message shown to the user. The quotes surround the message are important. |
--maintenance off | Disables maintenance, must be used after maintenance since there is no automatic maintenance stop functionality. |
--announceMaintenance TIME "MESSAGE WITH QUOTES" | Sends an email to specific users (by default the admin users) to announce the maintence mode at the given TIME with the additional MESSAGE. DOES NOT SET THE MAINTENANCE MODE SO FAR! Just sends the email. The group(s) of receivers can be set in the configuration. |