-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Geting current user failed! #575
Comments
更新:不使用服务可以正常加载 |
不管这个报错。运行为服务,找不到HOME目录,所以有这个提示。不影响你使用 |
配置文件加载不上去了 系统是fedora |
看起来像是服务指定了错误的配置文件( |
重新安装服务,重新看下-c目录,或者安装的时候指定-c路径 |
-c 需要指定全路径,都没提示你配置了,说明加载了。报错 |
https://github.com/jeessy2/ddns-go/blob/master/main.go#L33 |
另外,由于 ddns-go 安装为 system service,system service 没有 参考: |
4.5.6不显示了。不过指定的相对路径是不行的,要绝对路径。 |
* fix: add environment `HOME` to service and revert #576 and "fix: If getting user home with error, don't display the logs (#577)" This should really fix #575. * fix(main.go): add config file path to the service only if it is not equal to the default config file path * chore(main.go): update the description of the service
问题描述
服务报错 Geting current user failed! 并且配置文件无法加载
是否已搜索同类问题
已搜索,但未能解决
操作系统
Linux
架构
x86_64
ddns-go 版本
4.5.4
安装方式
服务
额外信息
No response
The text was updated successfully, but these errors were encountered: