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
Start dps with -conf-path=/etc/dns-proxy-server/config.json, (dps location /usr/bin/dns-proxy-server)
-conf-path=/etc/dns-proxy-server/config.json
/usr/bin/dns-proxy-server
when start dps open config /usr/bin/etc/dns-proxy-server/config.json
/usr/bin/etc/dns-proxy-server/config.json
Open config /etc/dns-proxy-server/config.json
/etc/dns-proxy-server/config.json
Start:
/usr/bin/dns-proxy-server -conf-path=/etc/dns-proxy-server/config.json
Specs:
$ /usr/bin/dns-proxy-server -conf-path=/etc/dns-proxy-server/config.json 2020/01/13 13:02:16.003274 ERROR f=local.go:123 pkg=github.com/mageddo/dns-proxy-server/events/local m=storeDefaultConfig status=error-to-create-conf-path, path=/usr/bin/etc/dns-proxy-server/config.json 2020/01/13 13:02:16.003354 ERROR f=local.go:123 pkg=github.com/mageddo/dns-proxy-server/events/local m=storeDefaultConfig status=error-to-create-conf-path, path=/usr/bin/etc/dns-proxy-server/config.json
The text was updated successfully, but these errors were encountered:
Looks like -conf-path feature wasn't designed to support absolute paths, I think it makes sense to support it.
-conf-path
dns-proxy-server/utils/utils.go
Lines 168 to 177 in 632d36a
Sorry, something went wrong.
Support for absolute paths on config files (#188)
87d8c4e
* upgrading github-cli to fix master docker release * make support for absolute paths on config file * specifying release notes
No branches or pull requests
What is Happening
Start dps with
-conf-path=/etc/dns-proxy-server/config.json
, (dps location/usr/bin/dns-proxy-server
)when start dps open config
/usr/bin/etc/dns-proxy-server/config.json
What is expected
Open config
/etc/dns-proxy-server/config.json
Steps to Reproduce
Start:
Specs:
The text was updated successfully, but these errors were encountered: