diff --git a/Configure-Shadowsocks-with-Supervisor.md b/Configure-Shadowsocks-with-Supervisor.md index 56b5dad..d58f1c3 100644 --- a/Configure-Shadowsocks-with-Supervisor.md +++ b/Configure-Shadowsocks-with-Supervisor.md @@ -29,8 +29,15 @@ autorestart=true user=nobody ``` +Add the following line into `/etc/default/supervisor` + +``` +ulimit -n 51200 +``` + Run ``` +service supervisor start supervisorctl reload ``` Now it's up. @@ -42,8 +49,7 @@ supervisorctl start shadowsocks supervisorctl restart shadowsocks ``` -You can check shadowsocks status: +You can check logs: ``` -supervisorctl status supervisorctl tail shadowsocks ``` \ No newline at end of file