Skip to content

Add flag to set database path - #497

Open
romanbuk52 wants to merge 4 commits into
ngoduykhanh:masterfrom
romanbuk52:master
Open

Add flag to set database path#497
romanbuk52 wants to merge 4 commits into
ngoduykhanh:masterfrom
romanbuk52:master

Conversation

@romanbuk52

Copy link
Copy Markdown

I have added a flag to configure the path to the database, I think it's not okay to save configs in a root.

@ngoduykhanh

Copy link
Copy Markdown
Owner

Thank you for your PR. What is the difference between saving the db in binary's root folder (./db ) and /etc/wireguard/db? I think having a custom path for it makes sense. However, can you instead use the existing path (./db) as the default value?

@romanbuk52

Copy link
Copy Markdown
Author

Okay, will change the default value and I will let you know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants