1
| sudo nano /lib/systemd/system/frpc.service
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| [Unit] Description=fraps service After=network.target syslog.target Wants=network.target
[Service] Type=simple Restart=always RestartSec=1
ExecStart=/root/frp/frpc -c /root/frp/frpc.ini
[Install] WantedBy=multi-user.target
|
frp路径
1 2 3 4 5 6 7 8 9 10
| sudo systemctl start frpc
sudo systemctl enable frpc
sudo systemctl restart frpc
sudo systemctl stop frpc
sudo systemctl status frpc
|
转自
https://blog.csdn.net/x7418520/article/details/81077652