(Bug fix): Fix Unbound

- Set binary filepath
- Set ca certs filepath
This commit is contained in:
Quentin McGaw
2021-01-02 20:39:24 +00:00
parent f5eb4887a7
commit 680aef62ee
3 changed files with 6 additions and 4 deletions

View File

@@ -96,7 +96,9 @@ func _main(background context.Context, buildInfo models.BuildInformation,
alpineConf := alpine.NewConfigurator(os.OpenFile, osUser)
ovpnConf := openvpn.NewConfigurator(logger, os, unix)
dnsCrypto := dnscrypto.New(httpClient, "", "")
dnsConf := unbound.NewConfigurator(logger, os.OpenFile, dnsCrypto, "/etc/unbound")
const cacertsPath = "/etc/ssl/certs/ca-certificates.crt"
dnsConf := unbound.NewConfigurator(logger, os.OpenFile, dnsCrypto,
"/etc/unbound", "/usr/sbin/unbound", cacertsPath)
routingConf := routing.NewRouting(logger)
firewallConf := firewall.NewConfigurator(logger, routingConf, os.OpenFile)
streamMerger := command.NewStreamMerger()