mirror of
https://github.com/snowykami/server-status-client.git
synced 2024-11-22 15:18:00 +08:00
✨ 降低python版本依赖
This commit is contained in:
parent
a579c76002
commit
af970a77ed
@ -33,7 +33,7 @@ Debian系请使用pipx安装
|
||||
|
||||
```bash
|
||||
sudo apt install pipx
|
||||
pipx install server-status
|
||||
sudo pipx install server-status
|
||||
```
|
||||
|
||||
## 🎉 使用
|
||||
@ -60,6 +60,8 @@ server_status https://status.liteyuki.icu 114514 myhost run -n "MyHost" --labels
|
||||
### 开机启动
|
||||
执行以下命令
|
||||
```shell
|
||||
sudo pipx ensurepath # 确保pipx路径在环境变量下
|
||||
|
||||
sudo touch /etc/systemd/system/server-status-client.service
|
||||
|
||||
sudo bash -c 'cat <<EOF > /etc/systemd/system/server-status-client.service
|
||||
|
@ -10,7 +10,7 @@ dependencies = [
|
||||
"psutil>=6.0.0",
|
||||
"arclet-alconna>=1.8.30",
|
||||
]
|
||||
requires-python = ">=3.11"
|
||||
requires-python = ">=3.10"
|
||||
readme = "README.md"
|
||||
license = { text = "MIT" }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user