笔记分享
编辑nezha-agent客户端启动参数配置

nano /etc/systemd/system/nezha-agent.service
找到其中一段
ExecStart=/root/nezha-agent -s xxx.xxx.com:5555 -p 连接密钥 -d

重载 & 重启服务

systemctl daemon-reexec
systemctl daemon-reload
systemctl restart nezha-agent

确认运行状态:

systemctl status nezha-agent

#nezha
 
 
Back to Top © 2025 我的笔记| 由 Cloudflare Pages and Telegram 强力驱动