mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:09:26 +08:00
Update index.py
This commit is contained in:
@@ -106,7 +106,7 @@ def getInitDFile():
|
||||
|
||||
|
||||
def initdStatus():
|
||||
shell_cmd = 'systemctl status v2ray.service | grep running'
|
||||
shell_cmd = 'systemctl status v2ray.service | grep loaded | grep "enabled;"'
|
||||
data = public.execShell(shell_cmd)
|
||||
if data[0] == '':
|
||||
return 'fail'
|
||||
|
||||
Reference in New Issue
Block a user