zdz / ServerStatus-Rust

✨ Rust 版 ServerStatus 探针、威力加强版
https://ssr.rs
Apache License 2.0
1.85k stars 332 forks source link

[Bug] 用脚本访问不了github怎么装啊 #343

Open MilkTeaNo7 opened 2 days ago

MilkTeaNo7 commented 2 days ago

Checklist

💻 系统环境

Ubuntu

🐛 问题描述

root@ubuntu:/opt/ServerStatus# bash status.sh -i -s [信息] 下载 x86_64 二进制文件

一直卡在这里,我试过输入CN=true bash status.sh args 没有任何作用,应该怎么办 ?

🚦 期望结果

No response

📷 复现步骤

No response

📝 补充信息

No response

MilkTeaNo7 commented 2 days ago
Nov 21 09:11:31 ubuntu stat_server[236085]: ✨ stat_server v1.8.1 (1dd5c41, 2024-03-18 14:18:45 UTC, rustc 1.76.0, x86_64-unknown-linux-musl)
Nov 21 09:11:31 ubuntu stat_server[236085]: ✨ run in normal mode, load conf from local file `/opt/ServerStatus/config.toml
Nov 21 09:11:31 ubuntu stat_server[236085]:  ERROR stat_server > can't parse config
Nov 21 09:11:31 ubuntu systemd[1]: stat_server.service: Main process exited, code=exited, status=1/FAILURE
Nov 21 09:11:31 ubuntu systemd[1]: stat_server.service: Failed with result 'exit-code'.
Nov 21 09:11:31 ubuntu systemd[1]: stat_server.service: Scheduled restart job, restart counter is at 5.
Nov 21 09:11:31 ubuntu systemd[1]: stat_server.service: Start request repeated too quickly.
Nov 21 09:11:31 ubuntu systemd[1]: stat_server.service: Failed with result 'exit-code'.
Nov 21 09:11:31 ubuntu systemd[1]: Failed to start stat_server.service - ServerStatus-Rust Server.
Nov 21 09:12:04 ubuntu systemd[1]: Started stat_server.service - ServerStatus-Rust Server.

配置文件错误,问题是配置文件是默认的!