There was an error while loading. Please reload this page.
1 parent bc4921a commit 3befdc2Copy full SHA for 3befdc2
1 file changed
docs/scaict-uwu/dev/maintain.md
@@ -1,6 +1,6 @@
1
---
2
sidebar_position: 3
3
-authors: [iach526526]
+authors: [iach526526, winstonsung]
4
slug: maintain
5
title: 維護、部署注意事項
6
description: 這 很 重 要!
@@ -19,13 +19,13 @@ description: 這 很 重 要!
19
### 執行中電喵本體
20
21
```bash
22
-nohup python3 main.py &>/var/log/Bot_uwu/Log_$(date +%Y-%m-%dT%H-%M-%S).log&
+nohup uv run python3 main.py &> /var/log/Bot_uwu/Log_$(date +%Y-%m-%dT%H-%M-%S).log &
23
```
24
25
### 中電商店
26
27
28
-nohup flask run &>/var/log/uwuStore/Log_$(date +%Y-%m-%dT%H-%M-%S).log&
+nohup uv run flask run &> /var/log/uwuStore/Log_$(date +%Y-%m-%dT%H-%M-%S).log &
29
30
31
執行後 CLI 會顯示 Process ID,下面的例子是開啟了一個 Process ID 為 48763 的工作。這個 ID 是唯一的,用來辨別這個運行的工作。每次開啟服務後建議寫在記事本,下次關服務會比較好找到這個服務。
0 commit comments