From af970a77ed0b38cd964ad9f03a80e4e4db31f780 Mon Sep 17 00:00:00 2001 From: snowykami Date: Thu, 3 Oct 2024 00:59:49 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E9=99=8D=E4=BD=8Epython=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +++- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc70a91..50a4a74 100644 --- a/README.md +++ b/README.md @@ -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 < /etc/systemd/system/server-status-client.service diff --git a/pyproject.toml b/pyproject.toml index 4de0e92..eef0748 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" }