[GH-ISSUE #1875] 关于客户端断电,FRPC自启动设置请教 #1482

Closed
opened 2026-05-05 12:56:12 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @wangdaofu on GitHub (Jun 21, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1875

frpc.service 配置文件路径是哪个?
/root/frp_0.33.0_linux_mipsle/frpc -c/systemd/frpc.service
/etc/systemd/system/frpc.service

如何配置?
[Unit]
Description=Frp Client Service
After=network.target

[Service]
Type=simple
Restart=on-failure
RestartSec=5s
ExecStart=/root/frp_0.33.0_linux_mipsle/frpc -c /root/frp_0.33.0_linux_mipsle/frpc.ini
ExecReload=/root/frp_0.33.0_linux_mipsle/frpc reload -c /root/frp_0.33.0_linux_mipsle/frpc.ini

[Install]
WantedBy=multi-user.target

Originally created by @wangdaofu on GitHub (Jun 21, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1875 frpc.service 配置文件路径是哪个? /root/frp_0.33.0_linux_mipsle/frpc -c/systemd/frpc.service /etc/systemd/system/frpc.service 如何配置? [Unit] Description=Frp Client Service After=network.target [Service] Type=simple Restart=on-failure RestartSec=5s ExecStart=/root/frp_0.33.0_linux_mipsle/frpc -c /root/frp_0.33.0_linux_mipsle/frpc.ini ExecReload=/root/frp_0.33.0_linux_mipsle/frpc reload -c /root/frp_0.33.0_linux_mipsle/frpc.ini [Install] WantedBy=multi-user.target
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1482
No description provided.