SHUTDOWN [NOSAVE | SAVE]
Time complexity: O(1)
ACL categories: @admin, @slow, @dangerous
SHUTDOWN command supports optional modifiers to alter the behavior of the command:
SAVEwill force a DB saving operation even if no save points are configured.
NOSAVEwill prevent a DB saving operation even if one or more save points are configured.
Also note: If Dragonfly receives one of the signals
SIGINT, the same shutdown sequence is performed.
See also Signal Handling.
Simple string reply:
ABORT was specified and shutdown was aborted.
On successful shutdown, nothing is returned since the server quits and the connection is closed.
On failure, an error is returned.