Closed vdebergue closed 4 years ago
Yes it makes sense. 👍
@vdebergue Can you please test the aforementioned PR and tell me how it goes? I've tested it on my env and it seems to work (with both single config file and splitted ones).
I will try it next week, thanks.
The new branch is working for my setup 👍
Nice! Thank you for testing! As soon as I update the README I will merge the PR, publish it in crates.io and close this issue!
Hi, I'm running the exporter with a separate peer file:
This causes the exporter to believe that the interface is named
peers
whereas the correct name iswg0
My
wg0.conf
:This allows to split the configuration file in two and manage user configuration separately.
Maybe we could add an option on the command line that would take the precedence on the filename if specified ?