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",