FRP开机启动

 /usr/lib/systemd/system/frpc.service

[Unit]
Description=frpc
daemonAfter=network.target

[Service]
User=root
Type=simple
ExecStartPre=/bin/sleep 30
ExecStart=/root/frp/frpc -c /root/frp/frpc.ini

[Install]
WantedBy=multi-user.target

systemctl start frpc.service

systemctl enable frpc.service

systemctl list-units |grep frpc

systemctl status frpc.service

评论

此博客中的热门博文

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

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

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