已经解决
ExecStart=/root/frp_0.53.2_linux_amd64/frps -c /root/frp_0.53.2_linux_amd64/frps.ini
可能新版本的安装在/home/lighthouse/frp_0.53.2_linux_amd64目录下的问题,把上面那边/lib/systemd/system/frps.service里面的路径替换掉就行了
我试着安装了最新的0.53.2的。按大佬你的步骤来的,到了 检查下服务状态 那里 就是显示失败的
● frps.service - frps service
Loaded: loaded (/usr/lib/systemd/system/frps.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 二 2024-01-30 17:21:37 CST; 36s ago
Process: 1022 ExecStart=/root/frp_0.53.2_linux_amd64/frps -c /root/frp_0.53.2_linux_amd64/frps.ini (code=exited, status=203/)
Main PID: 1022 (code=exited, status=203/)
1月 30 17:21:37 VM-12-6-centos systemd[1]: Started frps service.
1月 30 17:21:37 VM-12-6-centos systemd[1]: frps.service: main process exite...C
1月 30 17:21:37 VM-12-6-centos systemd[1]: Unit frps.service entered failed....
1月 30 17:21:37 VM-12-6-centos systemd[1]: frps.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
关注数量超出限制,
请先删除部分内容再尝试