mirror of https://github.com/ovh/the-bastion
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
581 B
29 lines
581 B
=================
|
|
adminMaintenance
|
|
=================
|
|
|
|
Manage the bastion maintenance mode
|
|
===================================
|
|
|
|
|
|
.. admonition:: usage
|
|
:class: cmdusage
|
|
|
|
--osh adminMaintenance <--lock [--message "'reason for maintenance'"]|--unlock>
|
|
|
|
.. program:: adminMaintenance
|
|
|
|
|
|
.. option:: --lock
|
|
|
|
Set maintenance mode: new logins will be disallowed
|
|
|
|
.. option:: --unlock
|
|
|
|
Unset maintenance mode: new logins are allowed and the bastion functions normally
|
|
|
|
.. option:: --message MESSAGE
|
|
|
|
Optionally set a maintenance reason, if you're in a shell, quote it twice.
|
|
|