[Unit]
Description=frp client
Wants=network-online.target
After=network.target network-online.target
[Service]
ExecStart=/path_to/frpc -c /path_to/frpc.ini
[Install]
WantedBy=multi-user.target
$ sudo systemctl daemon-reload
$ sudo systemctl enable frpc
$ sudo systemctl start frpc
$ sudo systemctl status frpc
$ sudo systemctl staop frpc
沒有留言:
張貼留言