[GH-ISSUE #3149] [Feature Request] 添加reload命令进行热更新 #2522

Closed
opened 2026-05-05 13:37:32 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @peakliuz on GitHub (Oct 27, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3149

Describe the feature request

有时候是利用穿透出去的服务连接的,有时候需要修改一下frpc的配置,但是要杀掉进程然后重启,那么问题来了,杀掉进程之后,frpc就连不上服务端了.
是否可以出一个类似nginx 的命令,类似 nginx -t 配置检查,nginx -s reload 服务重新加载

Describe alternatives you've considered

frpc -t frp.ini 检查配置
frpc -s reload 服务配置重新加载

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @peakliuz on GitHub (Oct 27, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/3149 ### Describe the feature request 有时候是利用穿透出去的服务连接的,有时候需要修改一下frpc的配置,但是要杀掉进程然后重启,那么问题来了,杀掉进程之后,frpc就连不上服务端了. 是否可以出一个类似nginx 的命令,类似 nginx -t 配置检查,nginx -s reload 服务重新加载 ### Describe alternatives you've considered frpc -t frp.ini 检查配置 frpc -s reload 服务配置重新加载 ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@befen commented on GitHub (Oct 27, 2022):

https://github.com/fatedier/frp#hot-reloading-frpc-configuration

<!-- gh-comment-id:1292983195 --> @befen commented on GitHub (Oct 27, 2022): https://github.com/fatedier/frp#hot-reloading-frpc-configuration
Author
Owner

@peakliuz commented on GitHub (Oct 27, 2022):

https://github.com/fatedier/frp#hot-reloading-frpc-configuration

66666

<!-- gh-comment-id:1293012066 --> @peakliuz commented on GitHub (Oct 27, 2022): > https://github.com/fatedier/frp#hot-reloading-frpc-configuration 66666
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2522
No description provided.