diff --git a/Configure-Shadowsocks-with-Supervisor.md b/Configure-Shadowsocks-with-Supervisor.md index 8b0a947..615dbe9 100644 --- a/Configure-Shadowsocks-with-Supervisor.md +++ b/Configure-Shadowsocks-with-Supervisor.md @@ -1,7 +1,16 @@ +[中文版](https://github.com/clowwindy/shadowsocks/wiki/%E7%94%A8-Supervisor-%E8%BF%90%E8%A1%8C-Shadowsocks) + If you want to run Shadowsocks in the background, use supervisor. Here is an example of running shadowsocks with supervisor on Debian 7.0: +Run +``` +apt-get update +apt-get install python-pip python-m2crypto supervisor +pip install shadowsocks +``` + Edit `/etc/shadowsocks.json` ``` @@ -15,13 +24,6 @@ Edit `/etc/shadowsocks.json` } ``` -Run -``` -apt-get update -apt-get install python-pip python-m2crypto supervisor -pip install shadowsocks -``` - Edit `/etc/supervisor/conf.d/shadowsocks.conf` ```