Loading... > 为了保证frp的稳定运行,因此使用supervisor进行进程守护。 ## 一. 安装supervisor ``` apt install supervisor -y ``` ## 二. 配置supervisor 1. 创建supervisor配置文件 ``` vim /etc/supervisor/conf.d/frps.conf ``` 2. 内容如下: ``` [program:frps] command = /root/frp/frps -c /root/frp/frps.ini autostart = true autorestart = true user = root redirect_stderr = true stdout_logfile = /root/frp/frps.log ``` 3. 启动supervisor: ``` supervisorctl reload ``` 4. 查看运行情况: ``` supervisorctl status ``` ![](https://fuju.life/usr/uploads/2020/11/3955122287.png) ## 三. 自推 国内百兆大带宽,价格实在! 我的淘宝店:[https://item.taobao.com/item.htm?id=617265744267](https://item.taobao.com/item.htm?id=617265744267) Last modification:November 5, 2020 © Allow specification reprint Like