Page:
Graceful shutdown and restart
Pages
Ban Brute Force Crackers
Block Connection to localhost
Change Server on the Fly
Configuration via Config File
Configure Multiple Users
Configure Shadowsocks with Supervisor
Connect to OpenVPN over Shadowsocks
Convert Shadowsocks into an HTTP proxy
Encryption
Feature Comparison across Different Versions
Forcing Chrome to Use Socks5 Proxy
Generate QR Code for Android or iOS Clients
Gentoo overlay
Graceful shutdown and restart
Home
Install Shadowsocks Server on Windows
Manage Multiple Users
Objective
Optimizing Shadowsocks
Ports and Clients
Salsa20
Securing Public Shadowsocks Server
Setting Up Shadowsocks on Linode
Setup a Shadowsocks relay
Shadowsocks 使用说明
TCP Fast Open
Troubleshooting
Using Shadowsocks with Command Line Tools
Workers
优化 Shadowsocks
回复模版
在 Linode 上快速搭建 Shadowsocks
用 Supervisor 运行 Shadowsocks
No results
7
Graceful shutdown and restart
clowwindy edited this page 2015-03-28 18:42:55 +08:00
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.