From c9f2c9c4722500d64f2773f94257f12156ea7123 Mon Sep 17 00:00:00 2001 From: ntlf9t <31321865+ntlf9t@users.noreply.github.com> Date: Sat, 22 Feb 2020 22:08:47 +0800 Subject: [PATCH] Update v2ray_server (#3265) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 减少日志生成 --- .../lean/luci-app-v2ray-server/root/etc/init.d/v2ray_server | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/lean/luci-app-v2ray-server/root/etc/init.d/v2ray_server b/package/lean/luci-app-v2ray-server/root/etc/init.d/v2ray_server index ba4f90653f..a2353be622 100755 --- a/package/lean/luci-app-v2ray-server/root/etc/init.d/v2ray_server +++ b/package/lean/luci-app-v2ray-server/root/etc/init.d/v2ray_server @@ -18,11 +18,11 @@ gen_v2ray_config_file() { start_v2ray_server() { config_foreach gen_v2ray_config_file "user" - fw3 reload + fw3 reload > /dev/null 2>&1 } stop_v2ray_server() { - fw3 reload + fw3 reload > /dev/null 2>&1 ps -w | grep "$CONFIG_PATH/" | grep -v "grep" | awk '{print $1}' | xargs kill -9 >/dev/null 2>&1 & } @@ -46,4 +46,4 @@ restart() { stop sleep 1 start -} \ No newline at end of file +}