mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2928] config_dir error when systemd reload service #2334
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#2334
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 @MikoyChinese on GitHub (May 5, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2928
Bug Description
frpc reload --config_dir /usr/local/bin/frp/configopen ./frpc.ini: no such file or directory....
frpc Version
0.42.0
frps Version
0.42.0
System Architecture
linux/amd64
Configurations
[Unit]
Description=Frp Client Service
After=network.target
[Service]
Type=simple
User=root
Restart=on-failure
RestartSec=5s
ExecStart=/usr/local/bin/frp/frpc --config_dir /usr/local/bin/frp/config
ExecReload=/usr/local/bin/frp/frpc reload --config_dir /usr/local/bin/frp/config
[Install]
WantedBy=multi-user.target
Logs
open ./frpc.ini: no such file or directory
Steps to reproduce
frpc reload --config_dir /usr/local/bin/frp/configopen ./frpc.ini: no such file or directory....
Affected area
@fatedier commented on GitHub (May 5, 2022):
Config reload is unsupported for
config_dir.