From 0a4326305fc838769f9ebc11223ea98f276fa8b7 Mon Sep 17 00:00:00 2001 From: clowwindy Date: Sun, 21 Dec 2014 01:01:16 -0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E7=94=A8=20Supervisor=20=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=20Shadowsocks=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 用-Supervisor-运行-Shadowsocks.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/用-Supervisor-运行-Shadowsocks.md b/用-Supervisor-运行-Shadowsocks.md index 2fee8db..5192935 100644 --- a/用-Supervisor-运行-Shadowsocks.md +++ b/用-Supervisor-运行-Shadowsocks.md @@ -1,5 +1,10 @@ -如果你想在后台运行 Shadowsocks,可以使用 Supervisor, -它可以方便地监控和控制任何程序,实现开机自动启动和后台运行。 +说明: 从 Shadowsocks 2.6 开始,你可以直接在后台运行 Shadowsocks。 +这样省掉了 supervisor 进程占用的内存。 + + ssserver -c /etc/shadowsocks.json -d start + ssserver -c /etc/shadowsocks.json -d stop + +对于老版本: 编辑 `/etc/shadowsocks.json`