mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
correct typos maintenance mode
This commit is contained in:
@@ -2,22 +2,21 @@
|
||||
Maintenance Mode Configuration
|
||||
==============================
|
||||
|
||||
If you want to prevent users to login to ownCloud before you start doing
|
||||
some maintenance work, you need to set the value of the **maintenance**
|
||||
parameter to *true*. Users who are already logged-in will remain logged-in, but
|
||||
blocked from the server. When maintenance mode is turned off users can return
|
||||
to work.
|
||||
You must put your ownCloud server into maintenance mode before performing
|
||||
updates or upgrades, and for performing troubleshooting and maintenance. Please
|
||||
see :doc:`../configuration_server/occ_command` to learn how to put your server into
|
||||
the various maintenance modes (``maintenance:mode, maintenance:singleuser``,
|
||||
and ``maintenance:repair``) with the ``occ`` command.
|
||||
|
||||
|
||||
|
||||
|
||||
Parameters
|
||||
----------
|
||||
``maintenance:mode`` locks the sessions of logged-in users and prevents new
|
||||
logins. This is the mode to use for updates and upgrades. You may also put your
|
||||
server into this mode by editing :file:`config/config.php`. Change
|
||||
``"maintenance" => false`` to ``"maintenance" => true``:
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
<?php
|
||||
<?php
|
||||
|
||||
"maintenance" => false,
|
||||
"maintenance" => true,
|
||||
|
||||
This parameters can be set in the :file:`config/config.php`
|
||||
Then change it back to ``false`` when you are finished.
|
||||
|
||||
Reference in New Issue
Block a user