fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
82k stars 12.89k forks source link

Add daemon mode #2397

Open anonyfamous opened 3 years ago

anonyfamous commented 3 years ago

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

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

galaxyskyknight commented 3 years ago

可以自己注册为service

anonyfamous commented 3 years ago

可以自己注册为service

亲,不是每个人都是root的