Updated Configure Shadowsocks with Supervisor (markdown)

clowwindy 2014-06-15 11:05:28 -07:00
parent 37b67dd45e
commit 8c827d351e

@ -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. If you want to run Shadowsocks in the background, use supervisor.
Here is an example of running shadowsocks with supervisor on Debian 7.0: 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` 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` Edit `/etc/supervisor/conf.d/shadowsocks.conf`
``` ```