## 编辑frp 服务
```
sudo vi /etc/systemd/system/frpc.service
```


```
[Unit] #服务名称，可自定义 
Description = frp client
After = network.target syslog.target
Wants = network.target

[Service]
Type = simple
Restart=on-failure 
RestartSec=5s
#启动frps的命令，需修改为您的frps的安装路径
ExecStart =/home/nvidia/frp_0.45.0_linux_arm64/frpc -c /home/nvidia/frp_0.45.0_linux_arm64/frpc.ini #路径修改
ExecReload=/home/nvidia/frp_0.45.0_linux_arm64/frpc reload -c /home/nvidia/frp_0.45.0_linux_arm64/frpc.ini #路径修改
[Install]
WantedBy = multi-user.target

```

## 配置frp服务开机自启
``` 
sudo systemctl daemon-reload # 刷新配置 
sudo systemctl start frpc # 启动clash.service 
sudo systemctl enable frpc # 设置开机启动 
sudo systemctl status frpc # 查看clash.service的状态
```





