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