From 679c74b15a6faacbf669bf87df9166f75003bba6 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 8 Jun 2020 08:42:18 +0800 Subject: [PATCH] up --- plugins/v2ray/index.py | 2 +- plugins/v2ray/tmp/v2ray.json | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/v2ray/index.py b/plugins/v2ray/index.py index 53d40c476..fe1db3f99 100755 --- a/plugins/v2ray/index.py +++ b/plugins/v2ray/index.py @@ -51,7 +51,7 @@ def checkArgs(data, ck=[]): def status(): - cmd = "ps -ef|grep v2ray |grep -v grep | awk '{print $2}'" + cmd = "ps -ef|grep v2ray |grep -v grep | grep -v 'mdserver-web'| awk '{print $2}'" data = public.execShell(cmd) if data[0] == '': return 'stop' diff --git a/plugins/v2ray/tmp/v2ray.json b/plugins/v2ray/tmp/v2ray.json index 013d51573..9cd158671 100644 --- a/plugins/v2ray/tmp/v2ray.json +++ b/plugins/v2ray/tmp/v2ray.json @@ -1,4 +1,9 @@ { + "log" : { + "access" : "/var/log/v2ray/access.log", + "error" : "/var/log/v2ray/error.log", + "loglevel":"warning" + }, "inbounds": [{ "port": 34861, "protocol": "vmess",