diff --git a/Configure-Shadowsocks-with-Supervisor.md b/Configure-Shadowsocks-with-Supervisor.md index 8847f80..24dbbb3 100644 --- a/Configure-Shadowsocks-with-Supervisor.md +++ b/Configure-Shadowsocks-with-Supervisor.md @@ -51,37 +51,4 @@ You can check logs or control the shadowsocks process: ``` supervisorctl tail -f shadowsocks stderr supervisorctl restart shadowsocks -``` - -CentOS ------- - -Run - -``` -yum install python-setuptools supervisor -easy_install pip -pip install shadowsocks -``` - -Edit `/etc/supervisord.conf`, add - -``` -[program:shadowsocks] -command=ssserver -c /etc/shadowsocks.json -autorestart=true -user=nobody -``` - -Run - -``` -sudo chkconfig --add supervisord -sudo chkconfig supervisord on -service supervisor start -supervisorctl reload -``` - -Edit `/etc/sysconfig/iptables`, add - - -A INPUT -m state --state NEW -m tcp -p tcp --dport your_server_port -j ACCEPT \ No newline at end of file +``` \ No newline at end of file