stop leaking avahi clients (#1802)

* stop leaking avahi clients

* separate avahi to its own binary
This commit is contained in:
Aiden McClelland
2022-09-15 12:53:46 -06:00
committed by GitHub
parent a5f31fbf4e
commit ca53793e32
6 changed files with 214 additions and 230 deletions

View File

@@ -70,7 +70,7 @@ impl NetController {
Ok(Self {
tor: TorController::init(embassyd_addr, embassyd_tor_key, tor_control).await?,
#[cfg(feature = "avahi")]
mdns: MdnsController::init(),
mdns: MdnsController::init().await?,
nginx: NginxController::init(PathBuf::from("/etc/nginx"), &ssl, &hostname).await?,
ssl,
dns: DnsController::init(dns_bind).await?,