summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKevin Lin <developer@kevinlin.info>2020-11-16 15:26:49 -0800
committerdormando <dormando@rydia.net>2020-11-20 12:30:33 -0800
commit1332f52df4dc9084325d348ac12a8fdc44811d17 (patch)
tree70ee6328088a4a42fdf3df736d000d1ff867854a /doc
parent2d118d43d4607d86f2312f0dd44815833da39a59 (diff)
downloadmemcached-1332f52df4dc9084325d348ac12a8fdc44811d17.tar.gz
'shutdown graceful' command for raising SIGUSR1
Diffstat (limited to 'doc')
-rw-r--r--doc/protocol.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/protocol.txt b/doc/protocol.txt
index 625db25..2788253 100644
--- a/doc/protocol.txt
+++ b/doc/protocol.txt
@@ -1695,6 +1695,12 @@ be released back to the OS asynchronously.
The argument is in megabytes, not bytes. Input gets multiplied out into
megabytes internally.
+"shutdown" is a command with an optional argument used to stop memcached with
+a kill signal. By default, "shutdown" alone raises SIGINT, though "graceful"
+may be specified as the single argument to instead trigger a graceful shutdown
+with SIGUSR1. The shutdown command is disabled by default, and can be enabled
+with the -A/--enable-shutdown flag.
+
"version" is a command with no arguments:
version\r\n