总是忘记,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 |