From 9957039fa7937377099a129bca4221891433a8dc Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sat, 24 May 2014 03:43:30 -0700 Subject: [PATCH] Updated Configure Shadowsocks with Supervisor (markdown) --- Configure-Shadowsocks-with-Supervisor.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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