[Unit] Description=fraps service After=network.target syslog.target Wants=network.target [Service] Type=simple #启动服务的命令(此处写你的frps的实际安装目录) ExecStart=/frps/frps -c /frps/frps.ini [Install] WantedBy=multi-user.target然后就启动frps
sudo systemctl start frps再打开自启动
sudo systemctl enable frps重启应用
sudo systemctl restart frps停止应用
sudo systemctl stop frps查看应用的日志
sudo systemctl status frps