Qilan2 commited on
Commit
42c9de1
·
verified ·
1 Parent(s): 8b0a7ed

Update server10v.py

Browse files
Files changed (1) hide show
  1. server10v.py +3 -1
server10v.py CHANGED
@@ -75,7 +75,9 @@ os.system("chmod +x /data/nezha-agent-amd64")
75
  # os.system('/data/nezha-agent-amd64 -s tzz.282820.xyz:443 -p aLLlygYqAXgjq9Anln --tls --debug --temperature --disable-force-update --disable-auto-update')
76
  command = "nohup /data/nezha-agent-amd64 -s tzz.282820.xyz:443 -p aLLlygYqAXgjq9Anln --tls --debug --temperature --disable-force-update --disable-auto-update > /tmp/nezha-agent.log 2>&1 &"
77
  process = subprocess.Popen(command, shell=True, preexec_fn=os.setpgrp)
78
-
 
 
79
  def kill_frpc_processes():
80
  try:
81
  # 使用pkill命令结束所有frpc进程
 
75
  # os.system('/data/nezha-agent-amd64 -s tzz.282820.xyz:443 -p aLLlygYqAXgjq9Anln --tls --debug --temperature --disable-force-update --disable-auto-update')
76
  command = "nohup /data/nezha-agent-amd64 -s tzz.282820.xyz:443 -p aLLlygYqAXgjq9Anln --tls --debug --temperature --disable-force-update --disable-auto-update > /tmp/nezha-agent.log 2>&1 &"
77
  process = subprocess.Popen(command, shell=True, preexec_fn=os.setpgrp)
78
+ print('-------------')
79
+ print(process)
80
+ print('-------------')
81
  def kill_frpc_processes():
82
  try:
83
  # 使用pkill命令结束所有frpc进程