hotfix(config): read wireguard config from /gluetun/wireguard/wg0.conf

This commit is contained in:
Quentin McGaw
2024-03-26 07:04:26 +00:00
parent ecc80a5a9e
commit e01ce9c6d8

View File

@@ -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)
} }