Updated Configure Shadowsocks with Supervisor (markdown)
parent
1ba9408951
commit
9957039fa7
1 changed files with 8 additions and 2 deletions
|
@ -29,8 +29,15 @@ autorestart=true
|
||||||
user=nobody
|
user=nobody
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Add the following line into `/etc/default/supervisor`
|
||||||
|
|
||||||
|
```
|
||||||
|
ulimit -n 51200
|
||||||
|
```
|
||||||
|
|
||||||
Run
|
Run
|
||||||
```
|
```
|
||||||
|
service supervisor start
|
||||||
supervisorctl reload
|
supervisorctl reload
|
||||||
```
|
```
|
||||||
Now it's up.
|
Now it's up.
|
||||||
|
@ -42,8 +49,7 @@ supervisorctl start shadowsocks
|
||||||
supervisorctl restart shadowsocks
|
supervisorctl restart shadowsocks
|
||||||
```
|
```
|
||||||
|
|
||||||
You can check shadowsocks status:
|
You can check logs:
|
||||||
```
|
```
|
||||||
supervisorctl status
|
|
||||||
supervisorctl tail shadowsocks
|
supervisorctl tail shadowsocks
|
||||||
```
|
```
|
Loading…
Add table
Add a link
Reference in a new issue