mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-26 01:45:59 +03:00
[GH-ISSUE #188] conf-path opens a nonexistent file #75
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#75
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 @9yx on GitHub (Jan 13, 2020).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/188
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.jsonWhat is expected
Open config
/etc/dns-proxy-server/config.jsonSteps to Reproduce
Start:
Specs:
@mageddo commented on GitHub (Jan 13, 2020):
Looks like
-conf-pathfeature wasn't designed to support absolute paths, I think it makes sense to support it.github.com/mageddo/dns-proxy-server@632d36a46a/utils/utils.go (L168-L177)