ShutdownCommand: Contents
  SHUTDOWN
    Return value

ShutdownCommand

#sidebar ControlCommandsSidebar

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 on error. On success nothing is returned since the server quits and the connection is closed.