This commit is contained in:
midoks
2020-06-08 08:42:18 +08:00
parent 907e1ca275
commit 679c74b15a
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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'
+5
View File
@@ -1,4 +1,9 @@
{
"log" : {
"access" : "/var/log/v2ray/access.log",
"error" : "/var/log/v2ray/error.log",
"loglevel":"warning"
},
"inbounds": [{
"port": 34861,
"protocol": "vmess",