Update server.py
Browse files
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("/
|
| 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 |
|