From 776d712090d49a29ebbbf2a96690cd0584a2f10d Mon Sep 17 00:00:00 2001 From: Carla Schroder Date: Sat, 21 Mar 2015 17:15:42 -0700 Subject: [PATCH] correct typos maintenance mode --- .../maintenance/enable_maintenance.rst | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/admin_manual/maintenance/enable_maintenance.rst b/admin_manual/maintenance/enable_maintenance.rst index f9485a0af..83f26a9b7 100644 --- a/admin_manual/maintenance/enable_maintenance.rst +++ b/admin_manual/maintenance/enable_maintenance.rst @@ -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 - false, + "maintenance" => true, -This parameters can be set in the :file:`config/config.php` +Then change it back to ``false`` when you are finished.