Updated Graceful shutdown and restart (markdown)

clowwindy 2014-09-13 01:02:55 -07:00
parent 8b56622d85
commit 7b3f5dd4a4

@ -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.
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.