We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
今天测试新版,Linux安装成service后config会失效
The text was updated successfully, but these errors were encountered:
找到了原因,文件一般生成的config.json在/home/username/config.json这里 但是作为服务安装sudo ./DDatHome-go-linux-amd64 install 并且跑起来后sudo systemctl start DDatHome-go 这个config.json会再次生成在linux超级根目录下 也就是/这里
/home/username/config.json
sudo ./DDatHome-go-linux-amd64 install
sudo systemctl start DDatHome-go
/
Sorry, something went wrong.
linux 下修改 /etc/systemd/system/DDatHome-go.service
[Service] WorkingDirectory=$PWD
go 应该是在这设置
https://github.com/kardianos/service/blob/f4a4df2b5eb5bdd0169d5ec60e48bbb4d0a6e029/service.go#L134
No branches or pull requests
今天测试新版,Linux安装成service后config会失效
The text was updated successfully, but these errors were encountered: