mirror of
https://github.com/Ysurac/openmptcprouter-vps-admin.git
synced 2025-03-09 15:40:05 +00:00
Fix check process
This commit is contained in:
parent
c399ecc384
commit
2737c91e17
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ async def status(userid: Optional[int] = Query(None), current_user: User = Depen
|
||||||
ss_traffic = 0
|
ss_traffic = 0
|
||||||
v2ray_tx = 0
|
v2ray_tx = 0
|
||||||
v2ray_rx = 0
|
v2ray_rx = 0
|
||||||
if os.path.isfile('/etc/v2ray/v2ray-server.json') and checkIfProcessRunning(v2ray):
|
if os.path.isfile('/etc/v2ray/v2ray-server.json') and checkIfProcessRunning('v2ray'):
|
||||||
v2ray_tx = get_bytes_v2ray('tx',username)
|
v2ray_tx = get_bytes_v2ray('tx',username)
|
||||||
v2ray_rx = get_bytes_v2ray('rx',username)
|
v2ray_rx = get_bytes_v2ray('rx',username)
|
||||||
vpn = 'glorytun_tcp'
|
vpn = 'glorytun_tcp'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue