[GH-ISSUE #2397] Add daemon mode #1906

Closed
opened 2026-05-05 13:13:51 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @anonyfamous on GitHub (May 16, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2397

当指定了日志文件输出时,console实际上无任何输出,即无需驻留前台,转为daemon模式运行,也可以增加参数指定输出pid文件时转为daemon模式运行。

长期驻留前台还需要使用screen nohup之类的方式非常不便,请考虑,谢谢。

Originally created by @anonyfamous on GitHub (May 16, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2397 当指定了日志文件输出时,console实际上无任何输出,即无需驻留前台,转为daemon模式运行,也可以增加参数指定输出pid文件时转为daemon模式运行。 长期驻留前台还需要使用screen nohup之类的方式非常不便,请考虑,谢谢。
gitea-mirror 2026-05-05 13:13:52 -06:00
Author
Owner

@galaxyskyknight commented on GitHub (May 17, 2021):

可以自己注册为service

<!-- gh-comment-id:841915088 --> @galaxyskyknight commented on GitHub (May 17, 2021): 可以自己注册为service
Author
Owner

@anonyfamous commented on GitHub (May 17, 2021):

可以自己注册为service

亲,不是每个人都是root的

<!-- gh-comment-id:841967909 --> @anonyfamous commented on GitHub (May 17, 2021): > 可以自己注册为service 亲,不是每个人都是root的
Author
Owner

@github-actions[bot] commented on GitHub (Nov 21, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:3560803279 --> @github-actions[bot] commented on GitHub (Nov 21, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
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#1906
No description provided.