Linux开机启动

 

三、设置 frps 开机启动

新建一个 shell 脚本

vi /root/frp.sh

内容如下

cd /root/frp/
./frps -c ./frps.ini

将此 shell 脚本加入开机启动脚本即可

vi /etc/rc.local

结尾添加

nohup sh /root/frp.sh >/dev/null 2>&1 &

评论

此博客中的热门博文

To set up the frp client to start automatically on boot in Raspberry Pi

OCBC华侨银行相关信息整理及使用指南

Tiptrans国际包裹转运服务:轻松购物全球,便捷快速收货