mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2499] frpc v0.37.0 在centos8.4添加systemd自启动服务无法执行excrestart里的命令 #1984
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#1984
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 @TaiChi01 on GitHub (Jul 28, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2499
[REQUIRED] hat version of frp are you using
Version: 0.37.0
[REQUIRED] What operating system and processor architecture are you using
OS: centos8.4
CPU architecture: x86_64
[REQUIRED] description of errors
confile
[Unit]
Description=Frp Client Service
After=network.target
[Service]
Type=simple
User=root
Restart=on-failure
RestartSec=5s
ExecStart=/root/frp/frpc -c /root/frp/frpc.ini
ExecReload=/root/frp/frpc reload -c /root/frp/frpc.ini
[Install]
WantedBy=multi-user.target
log file
Steps to reproduce the issue
Supplementary information
所有服务手动启动均正常运行,frps在服务器也出现一样的不能执行excrestart里的命令的问题,
但通过将User改为root解决。
在frpc上如此无法解决该问题
Can you guess what caused this issue
可能是某种权限问题,
类似的问题在网络搜索到http://yangl.net/2021/04/27/frps-systemctl-error/
Checklist:
@chengpeng2015 commented on GitHub (Aug 13, 2021):
+1
@github-actions[bot] commented on GitHub (Sep 13, 2021):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.