diff --git a/hostd/src/main.rs b/hostd/src/main.rs index 77f9d56..4a6262f 100644 --- a/hostd/src/main.rs +++ b/hostd/src/main.rs @@ -19,6 +19,7 @@ impl io_patagia_hostd::VarlinkInterface for PatagiaHostd { } fn describe(&self, call: &mut dyn io_patagia_hostd::Call_Describe) -> varlink::Result<()> { + // Connect to systemd.Hostname let conn = varlink::Connection::with_address("unix:/run/systemd/io.systemd.Hostname").unwrap(); let mut sd = io_systemd_hostname::VarlinkClient::new(conn);