微慑信息网

frp在linux下添加自启动

总是忘记,mark下

apt-get install supervisor

在supervisor配置文件路径下:/etc/supervisor/conf.d/ 创建frp.conf文件

内容如下:

[program:frp]

command = /your/path/frpc -c /your/path/frpc.ini

autostart = true

重启supervisor服务:

service supervisor restart

重启主机OK

将supervisor加入启动项:

systemctl enable supervisor.service

.

本文标题:frp在linux下添加自启动
本文链接:
(转载请附上本文链接)
https://vulsee.com/archives/vulsee_2020/0830_12291.html
转载请附本站链接,未经允许不得转载,,谢谢:微慑信息网-VulSee.com » frp在linux下添加自启动
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

微慑信息网 专注工匠精神

访问我们联系我们