Update server10v.py
Browse files- 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进程
|