mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1876] 关于FRPC 客户端断电自启动配置请教 #1483
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#1483
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wangdaofu on GitHub (Jun 21, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1876
frpc.service文件路径应如何设置?
/root/frp_0.33.0_linux_mipsle/frpc -c/systemd/frpc.service
/etc/systemd/system/frpc.service
frpc.service 如何设置?ExecStart 路径如何配置?
[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
@Comaxim commented on GitHub (Jun 30, 2020):
尝试
systemctl enable frpc。@wangdaofu commented on GitHub (Jul 4, 2020):
感谢。解决了,不用这么复杂了,开机时添加自动执行的命令就行
@Comaxim commented on GitHub (Jul 4, 2020):
cron?
@wangdaofu commented on GitHub (Jul 13, 2020):
rc.local