-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Graceful shutdown and restart
clowwindy edited this page Mar 28, 2015
·
7 revisions
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.
If you are using workers, send SIGQUIT
to the master process.
On Windows, please use SIGTERM
instead.
Notice: only some versions support this feature.