Contents
hide
打开debug模式
vi /etc/systemd/system/nezha-agent.service
不知为何出现了权限错误
修正一下
cd /opt/nezha/ chown -R root:root . restorecon -rv /opt/nezha/agent/nezha-agent
vi /etc/systemd/system/nezha-agent.service
cd /opt/nezha/ chown -R root:root . restorecon -rv /opt/nezha/agent/nezha-agent