hotfix(config): read wireguard config from /gluetun/wireguard/wg0.conf
This commit is contained in:
@@ -18,7 +18,7 @@ func (s *Source) lazyLoadWireguardConf() WireguardConfig {
|
|||||||
|
|
||||||
s.cached.wireguardLoaded = true
|
s.cached.wireguardLoaded = true
|
||||||
var err error
|
var err error
|
||||||
s.cached.wireguardConf, err = ParseWireguardConf(filepath.Join(s.rootDirectory, "wg0.conf"))
|
s.cached.wireguardConf, err = ParseWireguardConf(filepath.Join(s.rootDirectory, "wireguard", "wg0.conf"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
s.warner.Warnf("skipping Wireguard config: %s", err)
|
s.warner.Warnf("skipping Wireguard config: %s", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user