From 7b3f5dd4a4d2b233d6316706b7c753c774ae9977 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sat, 13 Sep 2014 01:02:55 -0700 Subject: [PATCH] Updated Graceful shutdown and restart (markdown) --- Graceful-shutdown-and-restart.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Graceful-shutdown-and-restart.md b/Graceful-shutdown-and-restart.md index ce2bad1..81fa2b3 100644 --- a/Graceful-shutdown-and-restart.md +++ b/Graceful-shutdown-and-restart.md @@ -1,3 +1,5 @@ Shadowsocks supports graceful shutdown like nginx. -You can send `SIGQUIT` to sslocal or ssserver process. The process closes listening sockets but still serves alive connections, allowing you to start a new process on the same port. When all connections on the old process are closed, it will then exit. \ No newline at end of file +You can send `SIGQUIT` to sslocal or ssserver process. The process closes listening sockets but still serves alive connections, allowing you to start a new process on the same port. When all connections on the old process are closed, it will then exit. + +If you are using workers, send `SIGQUIT` to master process. \ No newline at end of file