Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
./install-and-update.sh myrelease.zip

 


Called with the following parameters

The script does some maintenance tasks as listed below:

ArgumentAction
--helpShows 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.

--maintenanceShows maintance mode status
--maintenance TIMESet 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 offDisables 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.