Updated Manage Multiple Users (markdown)

clowwindy 2015-08-06 00:54:41 +08:00
parent 83ed13e784
commit bf2f05a912

@ -10,13 +10,15 @@ Setup
Turn on manager API by specifying `--manager-address`, which is either a Unix socket or an IP address:
```
# Use a Unix socket
python shadowsocks/server.py --manager-address /var/run/shadowsocks-manager.sock -c tests/server-multi-passwd.json
ssserver --manager-address /var/run/shadowsocks-manager.sock -c tests/server-multi-passwd.json
# Use an IP address
python shadowsocks/server.py --manager-address 127.0.0.1:6001 -c tests/server-multi-passwd.json
ssserver --manager-address 127.0.0.1:6001 -c tests/server-multi-passwd.json
```
For security reasons, you should use Unix sockets.
When manager is enabled, [workers](https://github.com/shadowsocks/shadowsocks/wiki/Workers) and [graceful restart](https://github.com/shadowsocks/shadowsocks/wiki/Graceful-shutdown-and-restart) are disabled.
Protocol
--------