Files
redis-docs/docs/ShutdownCommand.rst
Kenneth Reitz 525e9fd3d3 all into sphinx
2011-04-06 13:27:48 -04:00

23 lines
762 B
ReStructuredText
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
`|Redis Documentation| <index.html>`_
**ShutdownCommand: Contents**
  `SHUTDOWN <#SHUTDOWN>`_
    `Return value <#Return%20value>`_
ShutdownCommand
===============
#sidebar `ControlCommandsSidebar <ControlCommandsSidebar.html>`_
SHUTDOWN
========
Stop all the clients, save the DB, then quit the server. This
commandsmakes sure that the DB is switched off without the lost of
any data.This is not guaranteed if the client uses simply "SAVE"
and then"QUIT" because other clients may alter the DB data between
the twocommands.
Return value
------------
`Status code reply <ReplyTypes.html>`_ on error. On success nothing
is returned since the server quits and the connection is closed.
.. |Redis Documentation| image:: redis.png