diff --git a/用-Supervisor-运行-Shadowsocks.md b/用-Supervisor-运行-Shadowsocks.md index 049e4ae..2fee8db 100644 --- a/用-Supervisor-运行-Shadowsocks.md +++ b/用-Supervisor-运行-Shadowsocks.md @@ -56,36 +56,4 @@ Debian 如果修改了 Supervisor 的配置文件 `/etc/supervisor/*`, 可以更新 supervisor 配置: - supervisorctl update - -CentOS ------- - -运行 - -``` -yum install python-setuptools supervisor -easy_install pip -pip install shadowsocks -``` -编辑 `/etc/supervisord.conf`, 添加 - -``` -[program:shadowsocks] -command=ssserver -c /etc/shadowsocks.json -autorestart=true -user=nobody -``` - -运行 - -``` -sudo chkconfig --add supervisord -sudo chkconfig supervisord on -service supervisord start -supervisorctl reload -``` - -编辑 `/etc/sysconfig/iptables`,添加 - - -A INPUT -m state --state NEW -m tcp -p tcp --dport your_server_port -j ACCEPT \ No newline at end of file + supervisorctl update \ No newline at end of file