pull/5/head
midoks 5 years ago
parent 907e1ca275
commit 679c74b15a
  1. 2
      plugins/v2ray/index.py
  2. 5
      plugins/v2ray/tmp/v2ray.json

@ -51,7 +51,7 @@ def checkArgs(data, ck=[]):
def status(): 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) data = public.execShell(cmd)
if data[0] == '': if data[0] == '':
return 'stop' return 'stop'

@ -1,4 +1,9 @@
{ {
"log" : {
"access" : "/var/log/v2ray/access.log",
"error" : "/var/log/v2ray/error.log",
"loglevel":"warning"
},
"inbounds": [{ "inbounds": [{
"port": 34861, "port": 34861,
"protocol": "vmess", "protocol": "vmess",

Loading…
Cancel
Save