Qi28 commited on
Commit
00b5a35
·
verified ·
1 Parent(s): b31eeef

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +1 -1
server.py CHANGED
@@ -167,7 +167,7 @@ def run_nezha():
167
  print(f"Executed: {command}")
168
  except subprocess.CalledProcessError as e:
169
  print(f"An error occurred while executing: {command}\nError: {e}")
170
- os.system("/opt/nezha/agent/nezha-agent -s mb2.cnmw.us.kg:16667 -p fTDSMw9zPZokP8DOiH -d --disable-auto-update --disable-force-update --temperature --report-delay 4 --gpu")
171
  except subprocess.CalledProcessError as e:
172
  print(f"启动哪吒面板失败,错误内容: {e}")
173
 
 
167
  print(f"Executed: {command}")
168
  except subprocess.CalledProcessError as e:
169
  print(f"An error occurred while executing: {command}\nError: {e}")
170
+ os.system("/tmp/code/nezha-agent -s mb2.cnmw.us.kg:16667 -p fTDSMw9zPZokP8DOiH -d --disable-auto-update --disable-force-update --temperature --report-delay 4 --gpu")
171
  except subprocess.CalledProcessError as e:
172
  print(f"启动哪吒面板失败,错误内容: {e}")
173