Updated Configure Shadowsocks with Supervisor (markdown)
parent
37b67dd45e
commit
8c827d351e
1 changed files with 9 additions and 7 deletions
|
@ -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`
|
||||
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue