mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"log" : {
|
||||
"access" : "/var/log/v2ray/access.log",
|
||||
"error" : "/var/log/v2ray/error.log",
|
||||
"loglevel":"warning"
|
||||
},
|
||||
"inbounds": [{
|
||||
"port": 34861,
|
||||
"protocol": "vmess",
|
||||
|
||||
Reference in New Issue
Block a user