pull/5/head
midoks 5 years ago
parent 679c74b15a
commit d956531421
  1. 3
      plugins/v2ray/index.html
  2. 8
      plugins/v2ray/index.py

@ -4,7 +4,8 @@
<p class="bgw" onclick="pluginService('v2ray');">服务</p>
<p onclick="pluginInitD('v2ray');">自启动</p>
<p onclick="pluginConfig('v2ray');">配置修改</p>
<p onclick="pluginLogs('v2ray','','run_log');">日志</p>
<p onclick="pluginLogs('v2ray','','run_log');">运行日志</p>
<p onclick="pluginLogs('v2ray','','error_log');">错误日志</p>
<p onclick="readme();">说明</p>
</div>
<div class="bt-w-con pd15">

@ -133,7 +133,11 @@ def initdUinstall():
def getLog():
return '/var/log/shadowsocks.log'
return '/var/log/v2ray/access.log'
def getErrLog():
return '/var/log/v2ray/error.log'
if __name__ == "__main__":
func = sys.argv[1]
@ -157,5 +161,7 @@ if __name__ == "__main__":
print initdUinstall()
elif func == 'run_log':
print getLog()
elif func == 'error_log':
print getErrLog()
else:
print 'error'

Loading…
Cancel
Save